Sonarr/frontend/src/index.js

23 lines
490 B
JavaScript
Raw Normal View History

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