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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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