2019-09-17 14:30:26 +09:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
2019-10-24 12:55:09 +09:00
|
|
|
|
2019-09-17 14:30:26 +09:00
|
|
|
import App from './App';
|
|
|
|
import * as serviceWorker from './serviceWorker';
|
|
|
|
import {FullScreenSuspense} from './util/suspense';
|
2019-09-24 14:01:58 +09:00
|
|
|
import {initGA, initSentry} from './util/analytics';
|
2019-10-24 12:55:09 +09:00
|
|
|
import {initCrisp} from './util/crip';
|
2019-09-17 14:30:26 +09:00
|
|
|
import './util/i18n';
|
2019-08-03 13:36:29 +09:00
|
|
|
|
2020-02-05 15:59:53 +09:00
|
|
|
import {BrowserRouter as Router} from 'react-router-dom';
|
|
|
|
|
2019-09-24 14:01:58 +09:00
|
|
|
initGA();
|
2019-09-24 13:55:07 +09:00
|
|
|
initSentry();
|
2019-10-24 12:55:09 +09:00
|
|
|
initCrisp();
|
2019-09-24 13:55:07 +09:00
|
|
|
|
|
|
|
ReactDOM.render(
|
2019-08-14 18:46:57 +09:00
|
|
|
<FullScreenSuspense>
|
2020-02-05 15:59:53 +09:00
|
|
|
<Router>
|
|
|
|
<App />
|
|
|
|
</Router>
|
2019-09-24 13:55:07 +09:00
|
|
|
</FullScreenSuspense>,
|
|
|
|
document.getElementById('root'),
|
2019-09-17 14:30:26 +09:00
|
|
|
);
|
2019-08-01 01:10:09 +09:00
|
|
|
|
2019-09-17 14:30:26 +09:00
|
|
|
serviceWorker.register({});
|