diff options
author | ditoaugusta <dt_ap@ymail.com> | 2020-03-25 14:08:05 +0700 |
---|---|---|
committer | ditoaugusta <dt_ap@ymail.com> | 2020-03-25 14:08:05 +0700 |
commit | 37f8b1cd81614ed9281647b326a30d58123c5942 (patch) | |
tree | 81b7a13c0c3fc4da12182ee20518f021406def9b /modern/src | |
parent | 4d200181a6a97c8143d0843f07d90072ef35e25c (diff) | |
download | trackermap-web-37f8b1cd81614ed9281647b326a30d58123c5942.tar.gz trackermap-web-37f8b1cd81614ed9281647b326a30d58123c5942.tar.bz2 trackermap-web-37f8b1cd81614ed9281647b326a30d58123c5942.zip |
delete jsconfig. edit import
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/DeviceList.js | 3 | ||||
-rw-r--r-- | modern/src/SocketController.js | 2 | ||||
-rw-r--r-- | modern/src/index.js | 2 |
3 files changed, 3 insertions, 4 deletions
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}> |