Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
loadingBar: (state=0, action) => {
switch (action.type) {
case REHYDRATE:
return 0
default:
return loadingBarReducer(state, action)
}
},
loading: (state={}, { type, key }) => {
loadingBar: (state=0, action) => {
switch (action.type) {
case 'persist/REHYDRATE':
return 0
default:
return loadingBarReducer(state, action)
}
},
loading: (state={}, { type, key }) => {