diff --git a/js/store.js b/js/store.js index b9fd88d7..f1913bd9 100644 --- a/js/store.js +++ b/js/store.js @@ -26,7 +26,7 @@ const getStore = ( // eslint-disable-next-line no-unused-vars const emitterMiddleware = store => next => action => { - actionEmitter.trigger(action.type); + actionEmitter.trigger(action.type, action); return next(action); };