mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix infinite fetch
This commit is contained in:
parent
d73a37fbed
commit
f0d6402529
@ -71,7 +71,7 @@ export const queryFn = async <Data,>(
|
||||
.concat(
|
||||
"path" in context
|
||||
? (context.path.filter((x) => x) as string[])
|
||||
: "pageParam" in context
|
||||
: "pageParam" in context && context.pageParam
|
||||
? [context.pageParam as string]
|
||||
: (context.queryKey.filter((x, i) => x && i) as string[]),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user