Add MQTT URL to environment variables and refactor simulation components
This commit is contained in:
@@ -78,7 +78,7 @@ const CamModelsGroup = () => {
|
||||
socket.off('userDisConnectRespones');
|
||||
socket.off('cameraUpdateResponse');
|
||||
};
|
||||
}, [socket]);
|
||||
}, [socket, activeUsers]);
|
||||
|
||||
useFrame(() => {
|
||||
if (!groupRef.current) return;
|
||||
|
||||
Reference in New Issue
Block a user