diff --git a/frontend/src/index.js b/frontend/src/index.js index 98ef8315..9aaff0b0 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -1,7 +1,13 @@ +import { IntlProvider } from 'react-intl-redux'; +import { BrowserRouter } from 'react-router-dom'; +import { Provider } from 'react-redux'; import a11y from 'react-a11y'; import ReactDOM from 'react-dom'; import React from 'react'; -import Root from './root'; + +import App from '@containers/app'; +import MockState from './mock-state.json'; +import Store from '@state/store'; if (process.env.NODE_ENV !== 'production') { a11y(React, { @@ -10,6 +16,12 @@ if (process.env.NODE_ENV !== 'production') { } ReactDOM.render( - , + + + + + + + , document.getElementById('root') ); diff --git a/frontend/src/root.js b/frontend/src/root.js deleted file mode 100644 index ea676ca8..00000000 --- a/frontend/src/root.js +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import { IntlProvider } from 'react-intl-redux'; -import { Provider } from 'react-redux'; -import { BrowserRouter } from 'react-router-dom'; - -import App from '@containers/app'; -import Store from '@state/store'; -import MockState from './mock-state.json'; - -export default () => ( - - - - - - - -);