From e9ff9befd71167f2fe17045e8c370c70ca97b61e Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sun, 26 Aug 2018 18:18:17 -0700 Subject: [PATCH] Fix webamp.onTrackDidChange, by actually passing the action to the event emitter --- js/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); };