From 9cda6aec2d3dc4119710e2b40cc2c9ea1c2b0eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Fri, 24 Feb 2017 12:13:10 +0000 Subject: [PATCH] remove root --- frontend/src/index.js | 16 ++++++++++++++-- frontend/src/root.js | 18 ------------------ 2 files changed, 14 insertions(+), 20 deletions(-) delete mode 100644 frontend/src/root.js 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 () => ( - - - - - - - -);