From 37f8b1cd81614ed9281647b326a30d58123c5942 Mon Sep 17 00:00:00 2001 From: ditoaugusta Date: Wed, 25 Mar 2020 14:08:05 +0700 Subject: delete jsconfig. edit import --- modern/src/DeviceList.js | 3 +-- modern/src/SocketController.js | 2 +- modern/src/index.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'modern/src') 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(( -- cgit v1.2.3