1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-03-05 15:15:59 +02:00
Sonarr/frontend/src/index.js

23 lines
490 B
JavaScript
Raw Normal View History

import './preload';
import './polyfills';
2018-01-12 18:01:27 -08:00
import React from 'react';
import { render } from 'react-dom';
2019-07-16 19:30:19 -07:00
import { createBrowserHistory } from 'history';
2018-01-12 18:01:27 -08:00
import createAppStore from 'Store/createAppStore';
import 'Diag/ConsoleApi';
2018-01-12 18:01:27 -08:00
import App from './App/App';
import 'Styles/globals.css';
import './index.css';
2019-07-16 19:30:19 -07:00
const history = createBrowserHistory();
2018-01-12 18:01:27 -08:00
const store = createAppStore(history);
render(
<App
store={store}
history={history}
/>,
document.getElementById('root')
);