mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35: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<
|
||||
SearchResult[]
|
||||
>(getKey, {
|
||||
revalidateFirstPage: true,
|
||||
revalidateFirstPage: false,
|
||||
revalidateOnFocus: true,
|
||||
revalidateAll: false,
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user