[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:
@@ -144,6 +144,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
|
||||
|
||||
// count
|
||||
const {page, indexedAt: lastIndexed} = await fetchPage({
|
||||
getAgent,
|
||||
cursor: undefined,
|
||||
limit: 40,
|
||||
queryClient,
|
||||
|
||||
Reference in New Issue
Block a user