summaryrefslogtreecommitdiff
path: root/frontend/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-09-26 14:56:02 +0200
committerJules Laplace <julescarbon@gmail.com>2020-09-26 14:56:02 +0200
commita17b76ac75f506f5da6fe8adf9c36632b60d4226 (patch)
treeabb0af0c4409b830dea2ef808c146223ee973933 /frontend/index.js
parent2231a6e1c05b07bb7ec5906716aedec93d02429c (diff)
refactor to use app-rooted js imports
Diffstat (limited to 'frontend/index.js')
-rw-r--r--frontend/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/index.js b/frontend/index.js
index 6f1a0a5..393282c 100644
--- a/frontend/index.js
+++ b/frontend/index.js
@@ -2,9 +2,9 @@ import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
-import App from './app'
+import Router from 'app/router'
-import { store, history } from './store'
+import { store, history } from '/store'
const container = document.createElement('div')
container.classList.add('container')
@@ -12,6 +12,6 @@ document.body.appendChild(container)
ReactDOM.render(
<Provider store={store}>
- <App history={history} />
+ <Router history={history} />
</Provider>, container
)