mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
19 lines
510 B
TypeScript
19 lines
510 B
TypeScript
import * as React from 'react';
|
|
import { render } from 'react-dom';
|
|
import { Provider } from 'react-redux';
|
|
import { PersistGate } from 'redux-persist/integration/react';
|
|
import { configureStore } from '~/redux/store';
|
|
import App from '~/containers/App';
|
|
|
|
require('./styles/main.scss');
|
|
|
|
const { store, persistor } = configureStore();
|
|
|
|
render(
|
|
<Provider store={store}>
|
|
<PersistGate loading={null} persistor={persistor}>
|
|
<App />
|
|
</PersistGate>
|
|
</Provider>,
|
|
document.getElementById('app')
|
|
);
|