mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Fix webamp.onTrackDidChange, by actually passing the action to the event emitter
This commit is contained in:
parent
695d077335
commit
e9ff9befd7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue