aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-10-24 11:52:27 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-10-24 11:52:27 -0700
commit5836e53995f4f70b1e33c108823cf6f3293078de (patch)
tree23093a615fa7e0655fc2356900825e1569139d2c /modern/src
parent962267b2c5c2c33945880a360107c2812765c983 (diff)
downloadetbsa-traccar-web-5836e53995f4f70b1e33c108823cf6f3293078de.tar.gz
etbsa-traccar-web-5836e53995f4f70b1e33c108823cf6f3293078de.tar.bz2
etbsa-traccar-web-5836e53995f4f70b1e33c108823cf6f3293078de.zip
Move map classes
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/MainPage.js2
-rw-r--r--modern/src/map/MainMap.js (renamed from modern/src/MainMap.js)4
-rw-r--r--modern/src/map/mapManager.js (renamed from modern/src/mapManager.js)0
3 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/MainPage.js b/modern/src/MainPage.js
index aec7846..659c324 100644
--- a/modern/src/MainPage.js
+++ b/modern/src/MainPage.js
@@ -5,7 +5,7 @@ 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 './MainMap';
+import MainMap from './map/MainMap';
import MainToolbar from './MainToolbar';
const useStyles = makeStyles(theme => ({
diff --git a/modern/src/MainMap.js b/modern/src/map/MainMap.js
index b3fafb6..7332d93 100644
--- a/modern/src/MainMap.js
+++ b/modern/src/map/MainMap.js
@@ -4,8 +4,8 @@ import { Provider, useSelector } from 'react-redux';
import mapboxgl from 'mapbox-gl';
import mapManager from './mapManager';
-import store from './store';
-import StatusView from './StatusView';
+import store from '../store';
+import StatusView from '../StatusView';
import { useHistory } from 'react-router-dom';
const MainMap = () => {
diff --git a/modern/src/mapManager.js b/modern/src/map/mapManager.js
index 9e5d631..9e5d631 100644
--- a/modern/src/mapManager.js
+++ b/modern/src/map/mapManager.js