mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 02:29:19 +03:00
don't resend onconnect
This commit is contained in:
parent
7fc95c0e41
commit
d2b0878704
@ -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 = () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user