diff options
Diffstat (limited to 'apps/mobile')
| -rw-r--r-- | apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx b/apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx index e69b5319..54288362 100644 --- a/apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx +++ b/apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx @@ -21,10 +21,13 @@ export default function UpdatingBookmarkList({ error, fetchNextPage, isFetchingNextPage, - } = api.bookmarks.getBookmarks.useInfiniteQuery(query, { - initialCursor: null, - getNextPageParam: (lastPage) => lastPage.nextCursor, - }); + } = api.bookmarks.getBookmarks.useInfiniteQuery( + { ...query, useCursorV2: true }, + { + initialCursor: null, + getNextPageParam: (lastPage) => lastPage.nextCursor, + }, + ); if (error) { return <Text>{JSON.stringify(error)}</Text>; |
