forked from Github/frigate
reenable revalidation of first page (#14493)
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user