From 6ec5eaf47904fbec5ac7ecd1939291e3aab60530 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 17 Aug 2022 07:03:25 -0700 Subject: Geofences on most maps --- modern/src/main/MainPage.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modern/src/main/MainPage.js') diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js index bcd62c7d..c42b5be5 100644 --- a/modern/src/main/MainPage.js +++ b/modern/src/main/MainPage.js @@ -19,7 +19,7 @@ import DevicesList from './DevicesList'; import MapView from '../map/core/MapView'; import MapSelectedDevice from '../map/main/MapSelectedDevice'; import MapAccuracy from '../map/main/MapAccuracy'; -import MapGeofence from '../map/main/MapGeofence'; +import MapGeofence from '../map/MapGeofence'; import MapCurrentLocation from '../map/MapCurrentLocation'; import BottomMenu from '../common/components/BottomMenu'; import { useTranslation } from '../common/components/LocalizationProvider'; @@ -148,7 +148,6 @@ const MainPage = () => { const [mapOnSelect] = usePersistedState('mapOnSelect', false); - const [mapGeofences] = usePersistedState('mapGeofences', true); const [mapLiveRoutes] = usePersistedState('mapLiveRoutes', false); const selectedDeviceId = useSelector((state) => state.devices.selectedId); @@ -230,7 +229,7 @@ const MainPage = () => {
- {mapGeofences && } + {mapLiveRoutes && } -- cgit v1.2.3