about summary refs log tree commit diff
path: root/src/lib/constants.ts
diff options
context:
space:
mode:
authorAnsh Nanda <anshnanda10@gmail.com>2023-05-24 15:00:36 -0700
committerAnsh Nanda <anshnanda10@gmail.com>2023-05-24 15:00:36 -0700
commit7e555ecc1b04fed96192d3c68b87cf679993abfa (patch)
tree5f9ce75c1ad5c4f2c82b23d9f04ae21bd2967f60 /src/lib/constants.ts
parent04468eb1b7cccc6dcee127c7a89d001fa2ea352b (diff)
downloadvoidsky-7e555ecc1b04fed96192d3c68b87cf679993abfa.tar.zst
fix lint errors
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r--src/lib/constants.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
index e492dd61a..c42e6f3a9 100644
--- a/src/lib/constants.ts
+++ b/src/lib/constants.ts
@@ -102,13 +102,15 @@ export async function DEFAULT_FEEDS(
   serviceUrl: string,
   resolveHandle: (name: string) => Promise<string>,
 ) {
-  if (serviceUrl.includes('localhost')) { // local dev
+  if (serviceUrl.includes('localhost')) {
+    // local dev
     const aliceDid = await resolveHandle('alice.test')
     return {
       pinned: [`at://${aliceDid}/app.bsky.feed.generator/alice-favs`],
       saved: [`at://${aliceDid}/app.bsky.feed.generator/alice-favs`],
     }
-  } else if (serviceUrl.includes('staging')) { // staging
+  } else if (serviceUrl.includes('staging')) {
+    // staging
     return {
       pinned: [STAGING_DEFAULT_FEED('whats-hot')],
       saved: [
@@ -118,7 +120,8 @@ export async function DEFAULT_FEEDS(
         STAGING_DEFAULT_FEED('hot-classic'),
       ],
     }
-  } else { // production
+  } else {
+    // production
     return {
       pinned: [PROD_DEFAULT_FEED('whats-hot')],
       saved: [