2022-05-20 06:15:43 +02:00
|
|
|
import { createBrowserHistory } from 'history';
|
2018-01-13 04:01:27 +02:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from 'react-dom';
|
|
|
|
import createAppStore from 'Store/createAppStore';
|
|
|
|
import App from './App/App';
|
2022-05-20 06:15:43 +02:00
|
|
|
|
|
|
|
import './preload';
|
|
|
|
import './polyfills';
|
|
|
|
import 'Diag/ConsoleApi';
|
2018-01-13 04:01:27 +02:00
|
|
|
import 'Styles/globals.css';
|
|
|
|
import './index.css';
|
|
|
|
|
2019-07-17 04:30:19 +02:00
|
|
|
const history = createBrowserHistory();
|
2018-01-13 04:01:27 +02:00
|
|
|
const store = createAppStore(history);
|
|
|
|
|
|
|
|
render(
|
|
|
|
<App
|
|
|
|
store={store}
|
|
|
|
history={history}
|
|
|
|
/>,
|
|
|
|
document.getElementById('root')
|
|
|
|
);
|