diff options
-rw-r--r-- | modern/jsconfig.json | 6 | ||||
-rw-r--r-- | modern/src/DeviceList.js | 3 | ||||
-rw-r--r-- | modern/src/SocketController.js | 2 | ||||
-rw-r--r-- | modern/src/index.js | 2 |
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}> |