Fix webamp.onTrackDidChange, by actually passing the action to the event emitter

This commit is contained in:
Jordan Eldredge 2018-08-26 18:18:17 -07:00
parent 695d077335
commit e9ff9befd7

View file

@ -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);
};