- updated websocket context and add heatmap support; refactor CameraSettingFields and SightingWidget components

This commit is contained in:
2025-12-16 12:17:31 +00:00
parent 555330991d
commit 29e9086d5a
6 changed files with 12 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ const WebSocketProvider = ({ children }: WebSocketProviderProps) => {
sendJson: infoSocket.sendJsonMessage,
},
}),
[infoSocket.readyState, infoSocket.sendJsonMessage, systemData]
[systemData, infoSocket.readyState, infoSocket.sendJsonMessage]
);
return <WebsocketContext.Provider value={value}>{children}</WebsocketContext.Provider>;
};