mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-23 22:25:14 -04:00
ced624c2ff
(cherry picked from commit 090cdc364ef335fbfea8cf540696af813f6ecea4)
18 lines
437 B
TypeScript
18 lines
437 B
TypeScript
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(
|
|
<App store={store} history={history} />,
|
|
document.getElementById('root')
|
|
);
|
|
}
|