NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Live preview gifs should be updated on refocus (#10007)
Nicolas Mowenc7e9fe7234ad
diff --git a/web/src/pages/Live.tsx b/web/src/pages/Live.tsxindex 3dd48114f5..5a968e7401 100644--- a/web/src/pages/Live.tsx+++ b/web/src/pages/Live.tsx@@ -14,10 +14,10 @@ function Live() {// recent eventsconst { 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) {