author | ymh <ymh.work@gmail.com> |
Tue, 25 Sep 2018 14:41:01 +0200 | |
changeset 16 | a9fff9dba8e3 |
parent 11 | 37ecf0b9c174 |
permissions | -rw-r--r-- |
import './index.css'; import React from 'react'; import ReactDOM from 'react-dom'; import en from 'react-intl/locale-data/en'; import fr from 'react-intl/locale-data/fr'; import setIntl from 'dashboard-components/lib/intl'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; import setStore from './store'; const ComposedApp = setIntl({}, setStore(App), [...en, ...fr]); ReactDOM.render(<ComposedApp />, document.getElementById('root')); registerServiceWorker();