NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Maintain existing overlay state when setting hash (#10495)
Nicolas Mowen4e8600a0ef3b
diff --git a/web/src/hooks/use-overlay-state.tsx b/web/src/hooks/use-overlay-state.tsxindex f8479c7168..82fd0ee2d5 100644--- a/web/src/hooks/use-overlay-state.tsx+++ b/web/src/hooks/use-overlay-state.tsx@@ -76,7 +76,7 @@ export function useHashState<S extends string>(): [if (!value) {navigate(location.pathname);} else {- navigate(`${location.pathname}#${value}`);+ navigate(`${location.pathname}#${value}`, { state: location.state });}},// we know that these deps are correct