[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>
This commit is contained in:
Eric Bailey
2024-04-25 15:48:01 -05:00
committed by GitHub
parent a69e567991
commit 35005da59e
3 changed files with 16 additions and 9 deletions
@@ -144,6 +144,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
// count
const {page, indexedAt: lastIndexed} = await fetchPage({
getAgent,
cursor: undefined,
limit: 40,
queryClient,