mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-07 15:10:45 +03:00
Pass instrumentation's function to exclude from trace stack
This commit is contained in:
parent
f64db6cb16
commit
4acf9eed83
|
@ -620,15 +620,17 @@ export function unliftStore(liftedStore, liftReducer, options) {
|
|||
return lastDefinedState;
|
||||
}
|
||||
|
||||
function dispatch(action) {
|
||||
liftedStore.dispatch(liftAction(action, trace, traceLimit, dispatch));
|
||||
return action;
|
||||
}
|
||||
|
||||
return {
|
||||
...liftedStore,
|
||||
|
||||
liftedStore,
|
||||
|
||||
dispatch(action) {
|
||||
liftedStore.dispatch(liftAction(action, trace, traceLimit, this.dispatch));
|
||||
return action;
|
||||
},
|
||||
dispatch,
|
||||
|
||||
getState,
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user