Reduce the number of join requests per page to 20 (#10578)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user