reenable revalidation of first page (#14493)

This commit is contained in:
Josh Hawkins
2024-10-21 17:14:36 -05:00
committed by GitHub
parent 46f5234bd9
commit b69816c2f9

View File

@@ -177,7 +177,7 @@ export default function Explore() {
const { data, size, setSize, isValidating, mutate } = useSWRInfinite< const { data, size, setSize, isValidating, mutate } = useSWRInfinite<
SearchResult[] SearchResult[]
>(getKey, { >(getKey, {
revalidateFirstPage: false, revalidateFirstPage: true,
revalidateOnFocus: true, revalidateOnFocus: true,
revalidateAll: false, revalidateAll: false,
}); });