11
|
1 |
import './index.css'; |
|
2 |
|
|
3 |
import React from 'react'; |
|
4 |
import ReactDOM from 'react-dom'; |
|
5 |
import en from 'react-intl/locale-data/en'; |
|
6 |
import fr from 'react-intl/locale-data/fr'; |
|
7 |
|
|
8 |
import setIntl from 'dashboard-components/lib/intl'; |
|
9 |
|
|
10 |
import App from './App'; |
|
11 |
import registerServiceWorker from './registerServiceWorker'; |
|
12 |
import setStore from './store'; |
|
13 |
|
|
14 |
const ComposedApp = setIntl({}, setStore(App), [...en, ...fr]); |
|
15 |
ReactDOM.render(<ComposedApp />, document.getElementById('root')); |
|
16 |
registerServiceWorker(); |