Reduce the number of join requests per page to 20 (#10578)

This commit is contained in:
DS Boyce
2026-05-21 23:39:11 -07:00
committed by GitHub
parent 6f0912346c
commit 4c73b171d6
@@ -53,7 +53,7 @@ export function useListJoinRequestsQuery({
queryKey: createListJoinRequestsQueryKey({convoId: convoId ?? ''}), queryKey: createListJoinRequestsQueryKey({convoId: convoId ?? ''}),
queryFn: async ({pageParam}) => { queryFn: async ({pageParam}) => {
const {data} = await agent.chat.bsky.group.listJoinRequests( const {data} = await agent.chat.bsky.group.listJoinRequests(
{convoId: convoId!, cursor: pageParam, limit: 50}, {convoId: convoId!, cursor: pageParam, limit: 20},
{headers: DM_SERVICE_HEADERS}, {headers: DM_SERVICE_HEADERS},
) )
return data return data