fix: favorites pagination
This commit is contained in:
1 parent
8858e47d38
commit
38f0ca26da
4 files changed
+11
-7
No files matched your search
@@ -20,7 +20,7 @@ const Favorites = async () => {
|
||||
|
||||
await queryClient.prefetchInfiniteQuery({
|
||||
queryKey: [`users-${list}`, showType],
|
||||
queryFn: () => usersShows({ showType, list }),
|
||||
queryFn: () => usersShows({ showType, list, page: '1' }),
|
||||
initialPageParam: '1'
|
||||
});
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ const WatchList = async () => {
|
||||
|
||||
await queryClient.prefetchInfiniteQuery({
|
||||
queryKey: [`users-${list}`, showType],
|
||||
queryFn: () => usersShows({ showType, list }),
|
||||
queryFn: () => usersShows({ showType, list, page: '1' }),
|
||||
initialPageParam: '1'
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user