mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
revalidate
This commit is contained in:
parent
b6ca0d17f9
commit
71d6d546c4
@ -14,7 +14,7 @@ function Live() {
|
||||
|
||||
const { data: allEvents, mutate: updateEvents } = useSWR<FrigateEvent[]>(
|
||||
["events", { limit: 10 }],
|
||||
{ revalidateOnFocus: false, refreshInterval: 60000 }
|
||||
{ refreshInterval: 60000 }
|
||||
);
|
||||
|
||||
const events = useMemo(() => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user