aboutsummaryrefslogtreecommitdiff
path: root/modern
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
parent962267b2c5c2c33945880a360107c2812765c983 (diff)
downloadtrackermap-web-5836e53995f4f70b1e33c108823cf6f3293078de.tar.gz
trackermap-web-5836e53995f4f70b1e33c108823cf6f3293078de.tar.bz2
trackermap-web-5836e53995f4f70b1e33c108823cf6f3293078de.zip
Move map classes
Diffstat (limited to 'modern')
-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 aec78466..659c324e 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 b3fafb6a..7332d93e 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 9e5d631d..9e5d631d 100644
--- a/modern/src/mapManager.js
+++ b/modern/src/map/mapManager.js