fix: proper prefetch

This commit is contained in:
ner committed 2024-10-29 19:39:41 +02:00
1 parent c9ca262da8
commit 3b954279f7
9 files changed
+12 -15

No files matched your search

-1
View File
@@ -8,7 +8,6 @@ export type SimilarQueryProps = {
const similarQuery = ({ showId, showType }: SimilarQueryProps) => ({
enabled: Boolean(showId),
suspense: true,
queryKey: ['similar', showId, showType],
initialPageParam: '1',
queryFn: ({ pageParam = '1' }: { pageParam?: string }) =>