2018-08-30 14:25:33 +00:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
import './components/App/index.css';
|
|
|
|
import App from './containers/App';
|
|
|
|
import configureStore from './configureStore';
|
|
|
|
import reducers from './reducers';
|
2018-10-25 06:52:03 +00:00
|
|
|
import './i18n';
|
2018-08-30 14:25:33 +00:00
|
|
|
|
|
|
|
const store = configureStore(reducers, {}); // set initial state
|
|
|
|
ReactDOM.render(
|
|
|
|
<Provider store={store}>
|
|
|
|
<App />
|
|
|
|
</Provider>,
|
|
|
|
document.getElementById('root'),
|
|
|
|
);
|