aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/DeviceList.js3
-rw-r--r--modern/src/SocketController.js2
-rw-r--r--modern/src/index.js2
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}>