mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
loader: error handling
This commit is contained in:
parent
71a0aed9aa
commit
1c014ec9fb
5 changed files with 102 additions and 12 deletions
|
@ -35,9 +35,12 @@ import '$styles/main.less';
|
|||
import { Provider } from 'react-redux';
|
||||
import { PersistGate } from 'redux-persist/integration/react';
|
||||
import { configureStore } from '$redux/store';
|
||||
import { pushLoaderState } from '$utils/history';
|
||||
|
||||
const { store, persistor } = configureStore();
|
||||
|
||||
pushLoaderState(10);
|
||||
|
||||
export const Index = () => (
|
||||
<Provider store={store}>
|
||||
<PersistGate loading={null} persistor={persistor}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue