Closed
Description
How would I use this with redux-persist
?
// routesMap.js
…
WALLET_SELECTOR: {
path: '/wallet-selector/:currency',
thunk: (dispatch, getState) => {
// I don't seem to have the rehydrated state here.
// Is it somehow possible to 'await' rehydration here?
const { steps } = getState()
canContinueIf(steps.currencySelected, dispatch)
}
},
…
Metadata
Metadata
Assignees
Labels
No labels