This commit is contained in:
Hailey
2024-06-12 12:09:52 -07:00
parent a836e81dc7
commit 756ecf9af0
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ export function useListMembersQuery(uri?: string, limit: number = PAGE_SIZE) {
queryKey: RQKEY(uri ?? ''),
async queryFn({pageParam}: {pageParam: RQPageParam}) {
const res = await agent.app.bsky.graph.getList({
list: uri!,
list: uri!, // the enabled flag will prevent this from running until uri is set
limit,
cursor: pageParam,
})