mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
18 lines
511 B
TypeScript
18 lines
511 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';
|
|
import '~/styles/main.scss';
|
|
|
|
const { store, persistor } = configureStore();
|
|
|
|
render(
|
|
<Provider store={store}>
|
|
<PersistGate loading={null} persistor={persistor}>
|
|
<App />
|
|
</PersistGate>
|
|
</Provider>,
|
|
document.getElementById('app')
|
|
);
|