Skip to content

Commit 44e898e

Browse files
committed
Remove store mutations as looking to be not necessary anymore
Related to #556
1 parent 9f6c7aa commit 44e898e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/browser/extension/inject/pageScript.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,8 @@ const preEnhancer = instanceId => next =>
343343
(reducer, preloadedState, enhancer) => {
344344
const store = next(reducer, preloadedState, enhancer);
345345

346-
// Mutate the store in order to keep the reference
347346
if (stores[instanceId]) {
348347
stores[instanceId].initialDispatch = store.dispatch;
349-
stores[instanceId].liftedStore = store.liftedStore;
350-
stores[instanceId].getState = store.getState;
351348
}
352349

353350
return {

0 commit comments

Comments
 (0)