1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-03-05 10:58:04 +00:00
Lidarr/frontend/src/bootstrap.tsx
Mark McDowall 6c9ee67e51 Fixed: Improve translation loading
(cherry picked from commit 73c5ec1da4dd00301e1b0dddbcea37590a99b045)

Closes #3895
2023-08-21 04:09:09 +03:00

17 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')
);
}