diff --git a/src/createStore.js b/src/createStore.js index 2712201921..e719de56d3 100644 --- a/src/createStore.js +++ b/src/createStore.js @@ -175,7 +175,7 @@ export default function createStore(reducer, preloadedState, enhancer) { const listeners = currentListeners = nextListeners for (let i = 0; i < listeners.length; i++) { const listener = listeners[i] - listener() + listener(currentState) } return action