about summary refs log tree commit diff
path: root/src/state/queries/notifications/unread.tsx
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/unread.tsx
parent1512b5cf68e9e92801a894392569b444fd6af1d1 (diff)
downloadvoidsky-125ef1c75610c7add79f6a917bfa058f9265d5d4.tar.zst
Revert "run linter"
This reverts commit 1512b5cf68e9e92801a894392569b444fd6af1d1.
Diffstat (limited to 'src/state/queries/notifications/unread.tsx')
-rw-r--r--src/state/queries/notifications/unread.tsx20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/state/queries/notifications/unread.tsx b/src/state/queries/notifications/unread.tsx
index 2f55872eb..e7a0631ec 100644
--- a/src/state/queries/notifications/unread.tsx
+++ b/src/state/queries/notifications/unread.tsx
@@ -2,22 +2,20 @@
  * A kind of companion API to ./feed.ts. See that file for more info.
  */
 
-import {useQueryClient} from '@tanstack/react-query'
-import * as Notifications from 'expo-notifications'
 import React from 'react'
-import {AppState} from 'react-native'
-
+import * as Notifications from 'expo-notifications'
+import {useQueryClient} from '@tanstack/react-query'
 import BroadcastChannel from '#/lib/broadcast'
-import {logger} from '#/logger'
+import {useSession, getAgent} from '#/state/session'
+import {useModerationOpts} from '../preferences'
+import {fetchPage} from './util'
+import {CachedFeedPage, FeedPage} from './types'
 import {isNative} from '#/platform/detection'
 import {useMutedThreads} from '#/state/muted-threads'
-import {getAgent, useSession} from '#/state/session'
-
-import {useModerationOpts} from '../preferences'
-import {truncateAndInvalidate} from '../util'
 import {RQKEY as RQKEY_NOTIFS} from './feed'
-import {CachedFeedPage, FeedPage} from './types'
-import {fetchPage} from './util'
+import {logger} from '#/logger'
+import {truncateAndInvalidate} from '../util'
+import {AppState} from 'react-native'
 
 const UPDATE_INTERVAL = 30 * 1e3 // 30sec