aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other/GeofencesPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-22 18:08:47 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-22 18:08:47 -0700
commitfdbc6762b10233950d9c84fc71a9a8c11823f0a9 (patch)
tree169c0680cc59e09a506864cf7f81d564736e3171 /modern/src/other/GeofencesPage.js
parent7943bebe3581f362195d4b6a96d1f14e0fddd528 (diff)
downloadtrackermap-web-fdbc6762b10233950d9c84fc71a9a8c11823f0a9.tar.gz
trackermap-web-fdbc6762b10233950d9c84fc71a9a8c11823f0a9.tar.bz2
trackermap-web-fdbc6762b10233950d9c84fc71a9a8c11823f0a9.zip
Remove unnecessary code
Diffstat (limited to 'modern/src/other/GeofencesPage.js')
-rw-r--r--modern/src/other/GeofencesPage.js11
1 files changed, 4 insertions, 7 deletions
diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js
index 1e866de6..98833cc7 100644
--- a/modern/src/other/GeofencesPage.js
+++ b/modern/src/other/GeofencesPage.js
@@ -4,7 +4,6 @@ import {
} from '@material-ui/core';
import { useTheme } from '@material-ui/core/styles';
import Drawer from '@material-ui/core/Drawer';
-import ContainerDimensions from 'react-container-dimensions';
import ArrowBackIcon from '@material-ui/icons/ArrowBack';
import { useHistory } from 'react-router-dom';
import Map from '../map/core/Map';
@@ -77,12 +76,10 @@ const GeofencesPage = () => {
<GeofencesList />
</Drawer>
<div className={classes.mapContainer}>
- <ContainerDimensions>
- <Map>
- <MapCurrentLocation />
- <MapGeofenceEdit />
- </Map>
- </ContainerDimensions>
+ <Map>
+ <MapCurrentLocation />
+ <MapGeofenceEdit />
+ </Map>
</div>
</div>
</div>