Skip to content

NVR with realtime local object detection for IP cameras

Live preview gifs should be updated on refocus (#10007)

Nicolas Mowenc7e9fe7234ad
diff --git a/web/src/pages/Live.tsx b/web/src/pages/Live.tsx
index 3dd48114f5..5a968e7401 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<FrigateEvent[]>(
- ["events", { limit: 10 }],
- { revalidateOnFocus: false }
- );
+ const { data: allEvents, mutate: updateEvents } = useSWR<FrigateEvent[]>([
+ "events",
+ { limit: 10 },
+ ]);
useEffect(() => {
if (!eventUpdate) {