Skip to content

Commit

Permalink
refactor(app/store): reorder enhancers
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Dec 14, 2023
1 parent 1b6a102 commit bc0d442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export const store = configureStore({
enhancers: (getDefaultEnhancers) => {
const defaultEnhancers = getDefaultEnhancers({ autoBatch: false })
return defaultEnhancers
.concat(subscribeChange)
.concat(actionObserver.enhancer, stateObserver.enhancer)
.concat(getStateWithSelector)
.concat(stateObserver.enhancer, actionObserver.enhancer)
.concat(subscribeChange)
},
})

Expand Down

0 comments on commit bc0d442

Please sign in to comment.