@ -92,7 +92,7 @@ function Map(props) {
}, [tab, devices]);
useEffect(() => {
if (!delay) map && renderDevices()
if (!delay) tab == 'device' && map && renderDevices()
}, [type]);