diff --git a/src/createDispatcher.js b/src/createDispatcher.js index 6c742fead7..dc82e9723e 100644 --- a/src/createDispatcher.js +++ b/src/createDispatcher.js @@ -120,10 +120,10 @@ export default function createDispatcher() { const action = actionCreator(...args); if (typeof action === 'function') { // Callback-style action creator - action(dispatch, currentState); + return action(dispatch, currentState); } else { // Simple action creator - dispatch(action); + return dispatch(action); } }; }