diff options
Diffstat (limited to 'modern/src/MainPage.js')
-rw-r--r-- | modern/src/MainPage.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modern/src/MainPage.js b/modern/src/MainPage.js index 659c324e..9f9f744b 100644 --- a/modern/src/MainPage.js +++ b/modern/src/MainPage.js @@ -5,8 +5,9 @@ import Drawer from '@material-ui/core/Drawer'; import ContainerDimensions from 'react-container-dimensions'; import LinearProgress from '@material-ui/core/LinearProgress'; import DevicesList from './DevicesList'; -import MainMap from './map/MainMap'; import MainToolbar from './MainToolbar'; +import Map from './map/Map'; +import PositionsMap from './map/PositionsMap'; const useStyles = makeStyles(theme => ({ root: { @@ -53,7 +54,9 @@ const MainPage = ({ width }) => { </Drawer> <div className={classes.mapContainer}> <ContainerDimensions> - <MainMap /> + <Map> + <PositionsMap /> + </Map> </ContainerDimensions> </div> </div> |