Skip to content

Commit

Permalink
Use redux-persist (#1666)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbodnar committed May 18, 2021
1 parent 4581c40 commit cc56f8c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ let persistor = persistStore(store)

ReactDOM.render(
<Provider store={store}>
<LocalizeProvider store={store}>
<Routing history={history} />
</LocalizeProvider>
<PersistGate loading={null} persistor={persistor}>
<LocalizeProvider store={store}>
<Routing history={history} />
</LocalizeProvider>
</PersistGate>
</Provider>,
document.getElementById('root')
)

0 comments on commit cc56f8c

Please sign in to comment.