diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-09-26 14:56:02 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-09-26 14:56:02 +0200 |
| commit | a17b76ac75f506f5da6fe8adf9c36632b60d4226 (patch) | |
| tree | abb0af0c4409b830dea2ef808c146223ee973933 /frontend/index.js | |
| parent | 2231a6e1c05b07bb7ec5906716aedec93d02429c (diff) | |
refactor to use app-rooted js imports
Diffstat (limited to 'frontend/index.js')
| -rw-r--r-- | frontend/index.js | 6 |
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 ) |
