fix: cache invalidation issue

This commit is contained in:
Fredrik Burmester
2024-12-01 10:11:24 +01:00
parent 3a507b6d1b
commit 383062ac0d
6 changed files with 11 additions and 11 deletions

View File

@@ -28,8 +28,10 @@ export const ScrollingCollectionList: React.FC<Props> = ({
queryKey,
...props
}) => {
// console.log(queryKey);
const { data, isLoading } = useQuery({
queryKey,
queryKey: queryKey,
queryFn,
staleTime: 0,
refetchOnMount: true,