You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
540 B
TypeScript

7 years ago
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/es/integration/react';
7 years ago
import App from './App';
import registerServiceWorker from './registerServiceWorker';
import './index.css';
import { store, persistor } from './store';
7 years ago
ReactDOM.render(
<Provider store={store}>
<PersistGate persistor={persistor}>
<App />
</PersistGate>
</Provider>,
7 years ago
document.getElementById('root') as HTMLElement
);
registerServiceWorker();