aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorditoaugusta <dt_ap@ymail.com>2020-03-25 14:08:05 +0700
committerditoaugusta <dt_ap@ymail.com>2020-03-25 14:08:05 +0700
commit37f8b1cd81614ed9281647b326a30d58123c5942 (patch)
tree81b7a13c0c3fc4da12182ee20518f021406def9b /modern
parent4d200181a6a97c8143d0843f07d90072ef35e25c (diff)
downloadtrackermap-web-37f8b1cd81614ed9281647b326a30d58123c5942.tar.gz
trackermap-web-37f8b1cd81614ed9281647b326a30d58123c5942.tar.bz2
trackermap-web-37f8b1cd81614ed9281647b326a30d58123c5942.zip
delete jsconfig. edit import
Diffstat (limited to 'modern')
-rw-r--r--modern/jsconfig.json6
-rw-r--r--modern/src/DeviceList.js3
-rw-r--r--modern/src/SocketController.js2
-rw-r--r--modern/src/index.js2
4 files changed, 3 insertions, 10 deletions
diff --git a/modern/jsconfig.json b/modern/jsconfig.json
deleted file mode 100644
index a66ba283..00000000
--- a/modern/jsconfig.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./"
- },
- "include": ["src/**/*"]
-} \ No newline at end of file
diff --git a/modern/src/DeviceList.js b/modern/src/DeviceList.js
index edc6475b..235ba229 100644
--- a/modern/src/DeviceList.js
+++ b/modern/src/DeviceList.js
@@ -10,8 +10,7 @@ import ListItemSecondaryAction from '@material-ui/core/ListItemSecondaryAction';
import IconButton from '@material-ui/core/IconButton';
import MoreVertIcon from '@material-ui/icons/MoreVert';
import Divider from '@material-ui/core/Divider';
-
-import { devicesActions } from 'src/store';
+import { devicesActions } from './store';
const mapStateToProps = state => ({
devices: Object.values(state.devices.items)
diff --git a/modern/src/SocketController.js b/modern/src/SocketController.js
index 03f6e4cc..bacac51a 100644
--- a/modern/src/SocketController.js
+++ b/modern/src/SocketController.js
@@ -1,6 +1,6 @@
import { Component } from 'react';
import { connect } from 'react-redux';
-import { positionsActions, devicesActions } from 'src/store';
+import { positionsActions, devicesActions } from './store';
const displayNotifications = events => {
if ("Notification" in window) {
diff --git a/modern/src/index.js b/modern/src/index.js
index 0c5361fa..f501a083 100644
--- a/modern/src/index.js
+++ b/modern/src/index.js
@@ -6,7 +6,7 @@ import { Provider } from 'react-redux';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
-import store from 'src/store';
+import store from './store';
ReactDOM.render((
<Provider store={store}>