mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-12 09:30: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;
|
return lastDefinedState;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function dispatch(action) {
|
||||||
|
liftedStore.dispatch(liftAction(action, trace, traceLimit, dispatch));
|
||||||
|
return action;
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...liftedStore,
|
...liftedStore,
|
||||||
|
|
||||||
liftedStore,
|
liftedStore,
|
||||||
|
|
||||||
dispatch(action) {
|
dispatch,
|
||||||
liftedStore.dispatch(liftAction(action, trace, traceLimit, this.dispatch));
|
|
||||||
return action;
|
|
||||||
},
|
|
||||||
|
|
||||||
getState,
|
getState,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user