2023-07-18 03:37:02 +00:00
|
|
|
import { createBrowserHistory } from 'history';
|
|
|
|
import React from 'react';
|
|
|
|
import { render } from 'react-dom';
|
|
|
|
import createAppStore from 'Store/createAppStore';
|
|
|
|
import App from './App/App';
|
|
|
|
|
|
|
|
import 'Diag/ConsoleApi';
|
|
|
|
|
|
|
|
export async function bootstrap() {
|
|
|
|
const history = createBrowserHistory();
|
|
|
|
const store = createAppStore(history);
|
|
|
|
|
|
|
|
render(
|
2023-07-19 03:20:27 +00:00
|
|
|
<App store={store} history={history} />,
|
2023-07-18 03:37:02 +00:00
|
|
|
document.getElementById('root')
|
|
|
|
);
|
|
|
|
}
|