diff --git a/web/src/pages/Live.tsx b/web/src/pages/Live.tsx index 3dd48114f..5a968e740 100644 --- a/web/src/pages/Live.tsx +++ b/web/src/pages/Live.tsx @@ -14,10 +14,10 @@ function Live() { // recent events const { payload: eventUpdate } = useFrigateEvents(); - const { data: allEvents, mutate: updateEvents } = useSWR( - ["events", { limit: 10 }], - { revalidateOnFocus: false } - ); + const { data: allEvents, mutate: updateEvents } = useSWR([ + "events", + { limit: 10 }, + ]); useEffect(() => { if (!eventUpdate) {