fix: proper prefetch
This commit is contained in:
1 parent
c9ca262da8
commit
3b954279f7
9 files changed
+12
-15
No files matched your search
@@ -7,7 +7,6 @@ export type PopularQueryProps = {
|
||||
};
|
||||
|
||||
const popularQuery = ({ sortBy = 'popularity.desc', starring }: PopularQueryProps = {}) => ({
|
||||
suspense: true,
|
||||
queryKey: ['popular', sortBy, starring],
|
||||
initialPageParam: '1',
|
||||
queryFn: ({ pageParam = '1' }: { pageParam?: string }) =>
|
||||
|
||||
Reference in new issue
Block a user