about summary refs log tree commit diff
path: root/src/state/queries/notifications/feed.ts
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-13 01:55:14 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-13 01:55:14 +0000
commit125ef1c75610c7add79f6a917bfa058f9265d5d4 (patch)
tree727ff0713592fc550e77db10ad020b852100eb3e /src/state/queries/notifications/feed.ts
parent1512b5cf68e9e92801a894392569b444fd6af1d1 (diff)
downloadvoidsky-125ef1c75610c7add79f6a917bfa058f9265d5d4.tar.zst
Revert "run linter"
This reverts commit 1512b5cf68e9e92801a894392569b444fd6af1d1.
Diffstat (limited to 'src/state/queries/notifications/feed.ts')
-rw-r--r--src/state/queries/notifications/feed.ts18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/state/queries/notifications/feed.ts b/src/state/queries/notifications/feed.ts
index dbc23fcbd..405d054d4 100644
--- a/src/state/queries/notifications/feed.ts
+++ b/src/state/queries/notifications/feed.ts
@@ -16,26 +16,24 @@
  * 3. Don't call this query's `refetch()` if you're trying to sync latest; call `checkUnread()` instead.
  */
 
+import {useEffect, useRef} from 'react'
 import {AppBskyFeedDefs} from '@atproto/api'
 import {
+  useInfiniteQuery,
   InfiniteData,
-  QueryClient,
   QueryKey,
-  useInfiniteQuery,
   useQueryClient,
+  QueryClient,
 } from '@tanstack/react-query'
-import {useEffect, useRef} from 'react'
-
-import {useMutedThreads} from '#/state/muted-threads'
-
-import {STALE} from '..'
 import {useModerationOpts} from '../preferences'
-import {embedViewRecordToPostView, getEmbeddedPost} from '../util'
-import {FeedPage} from './types'
 import {useUnreadNotificationsApi} from './unread'
 import {fetchPage} from './util'
+import {FeedPage} from './types'
+import {useMutedThreads} from '#/state/muted-threads'
+import {STALE} from '..'
+import {embedViewRecordToPostView, getEmbeddedPost} from '../util'
 
-export type {FeedNotification, FeedPage, NotificationType} from './types'
+export type {NotificationType, FeedNotification, FeedPage} from './types'
 
 const PAGE_SIZE = 30