about summary refs log tree commit diff
path: root/src/state/queries/notifications/unread.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-04-25 15:48:01 -0500
committerGitHub <noreply@github.com>2024-04-25 21:48:01 +0100
commit35005da59e93312874beeb2d937c04801ad958d2 (patch)
tree30bfdfabdce1ad23530281e6973a4314719aaffb /src/state/queries/notifications/unread.tsx
parenta69e56799193ef9b1e5ea9c96bbf0bcc28158d3f (diff)
downloadvoidsky-35005da59e93312874beeb2d937c04801ad958d2.tar.zst
[Session] Drill `getAgent` into `notifications/utils` (#3703)
* Drill into notifications/util

(cherry picked from commit 84b535ed54f4fe93debcd198809bb184519c3507)

* Thread getAgent instead

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/state/queries/notifications/unread.tsx')
-rw-r--r--src/state/queries/notifications/unread.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/queries/notifications/unread.tsx b/src/state/queries/notifications/unread.tsx
index 1c01d71a5..445a167c3 100644
--- a/src/state/queries/notifications/unread.tsx
+++ b/src/state/queries/notifications/unread.tsx
@@ -144,6 +144,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
 
           // count
           const {page, indexedAt: lastIndexed} = await fetchPage({
+            getAgent,
             cursor: undefined,
             limit: 40,
             queryClient,