Pass instrumentation's function to exclude from trace stack

This commit is contained in:
Zalmoxisus 2018-12-13 23:53:33 +02:00
parent f64db6cb16
commit 4acf9eed83

View File

@ -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,