Radarr/frontend/src/index.js

20 lines
444 B
JavaScript
Raw Normal View History

import './preload.js';
2018-11-23 07:04:42 +00:00
import React from 'react';
import { render } from 'react-dom';
2019-07-27 05:33:33 +00:00
import { createBrowserHistory } from 'history';
2018-11-23 07:04:42 +00:00
import createAppStore from 'Store/createAppStore';
import App from './App/App';
import 'Styles/globals.css';
import './index.css';
2019-07-27 05:33:33 +00:00
const history = createBrowserHistory();
2018-11-23 07:04:42 +00:00
const store = createAppStore(history);
render(
<App
store={store}
history={history}
/>,
document.getElementById('root')
);