1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/frontend/src/index.js

23 lines
490 B
JavaScript
Raw Normal View History

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