diff options
author | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-24 15:00:36 -0700 |
---|---|---|
committer | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-24 15:00:36 -0700 |
commit | 7e555ecc1b04fed96192d3c68b87cf679993abfa (patch) | |
tree | 5f9ce75c1ad5c4f2c82b23d9f04ae21bd2967f60 /src | |
parent | 04468eb1b7cccc6dcee127c7a89d001fa2ea352b (diff) | |
download | voidsky-7e555ecc1b04fed96192d3c68b87cf679993abfa.tar.zst |
fix lint errors
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/constants.ts | 9 | ||||
-rw-r--r-- | src/view/screens/Notifications.tsx | 5 |
2 files changed, 10 insertions, 4 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: [ diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx index df84b541b..67507d009 100644 --- a/src/view/screens/Notifications.tsx +++ b/src/view/screens/Notifications.tsx @@ -98,7 +98,10 @@ export const NotificationsScreen = withAuthRequired( /> {store.me.notifications.hasNewLatest && !store.me.notifications.isRefreshing && ( - <LoadLatestBtn onPress={onPressLoadLatest} label="Load new notifications" /> + <LoadLatestBtn + onPress={onPressLoadLatest} + label="Load new notifications" + /> )} </View> ) |