sonarr-repo-only/frontend/src/index.js

22 lines
517 B
JavaScript
Raw Normal View History

2019-08-19 18:37:27 +00:00
/* eslint-disable-next-line no-undef */
__webpack_public_path__ = `${window.Sonarr.urlBase}/`;
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 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')
);