fix: progress data not updating due to enabled being set

https://stackoverflow.com/a/72230424
This commit is contained in:
Fredrik Burmester
2024-11-27 09:36:52 +01:00
parent c911a3c38a
commit e6ea5d13d4

View File

@@ -31,7 +31,6 @@ export const ScrollingCollectionList: React.FC<Props> = ({
const { data, isLoading } = useQuery({
queryKey,
queryFn,
enabled: !disabled,
staleTime: 0,
});