mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
@ -23,8 +23,7 @@ const TabSharedUsers: React.FC<TabSharedStackScreenProps<'Tab-Shared-Users'>> =
|
||||
const { data, hasNextPage, fetchNextPage, isFetchingNextPage } = useUsersQuery({
|
||||
...queryKey[1],
|
||||
options: {
|
||||
getPreviousPageParam: firstPage =>
|
||||
firstPage.links?.prev && { since_id: firstPage.links.next },
|
||||
getPreviousPageParam: firstPage => firstPage.links?.prev && { min_id: firstPage.links.next },
|
||||
getNextPageParam: lastPage => lastPage.links?.next && { max_id: lastPage.links.next }
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user