Skip to content

Commit

Permalink
fix: emit SUBSCRIPTION_READY
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyue04 authored and ambar committed Sep 2, 2021
1 parent e0bba9f commit 7da911f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/griffith/src/contexts/Message/MessageContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class MessageProvider extends React.PureComponent {
}

Promise.resolve().then(() =>
props.onEvent(EVENTS.PLAYER.SUBSCRIPTION_READY)
this.emitEvent(EVENTS.PLAYER.SUBSCRIPTION_READY)
)
}

Expand Down

0 comments on commit 7da911f

Please sign in to comment.