mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-20 18:59:01 +03:00
don't resend onconnect
This commit is contained in:
@@ -521,7 +521,6 @@ export function useInitialCameraState(
|
||||
// every component mount. Components read cached wsState immediately via
|
||||
// useSyncExternalStore. Only re-request when the user tabs back in.
|
||||
useEffect(() => {
|
||||
sendCommand("onConnect");
|
||||
if (!revalidateOnFocus) return;
|
||||
|
||||
const listener = () => {
|
||||
|
||||
Reference in New Issue
Block a user