mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
don't revalidate first page on every fetch
This commit is contained in:
parent
a824add109
commit
1ce138e4db
@ -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: true,
|
revalidateFirstPage: false,
|
||||||
revalidateOnFocus: true,
|
revalidateOnFocus: true,
|
||||||
revalidateAll: false,
|
revalidateAll: false,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user