NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Only revalidate if event update is valid (#14302)
Josh Hawkinsacccc6fd939e
diff --git a/web/src/pages/Explore.tsx b/web/src/pages/Explore.tsxindex d3c5f7d9b8..e81889fb08 100644--- a/web/src/pages/Explore.tsx+++ b/web/src/pages/Explore.tsx@@ -184,7 +184,9 @@ export default function Explore() {const eventUpdate = useEventUpdate();useEffect(() => {- mutate();+ if (eventUpdate) {+ mutate();+ }// mutate / revalidate when event description updates come in// eslint-disable-next-line react-hooks/exhaustive-deps}, [eventUpdate]);