Add MQTT URL to environment variables and refactor simulation components

This commit is contained in:
2025-03-28 19:10:49 +05:30
parent 813f620b4d
commit f46f29b88c
19 changed files with 1971 additions and 1164 deletions

View File

@@ -78,7 +78,7 @@ const CamModelsGroup = () => {
socket.off('userDisConnectRespones');
socket.off('cameraUpdateResponse');
};
}, [socket]);
}, [socket, activeUsers]);
useFrame(() => {
if (!groupRef.current) return;