Skip to content

Commit

Permalink
fix: retry callback (#161)
Browse files Browse the repository at this point in the history
Retry callback should pass the media info object.
  • Loading branch information
Dan Ziv committed Jan 9, 2018
1 parent 39f9772 commit 8ab4980
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/error-overlay/error-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const mapStateToProps = state => ({
* @extends {BaseComponent}
*/
class ErrorOverlay extends BaseComponent {

sessionEl: HTMLDivElement;

/**
Expand Down Expand Up @@ -67,7 +66,7 @@ class ErrorOverlay extends BaseComponent {
*/
handleClick(): void {
this.props.updateHasError(false);
this.player.loadMedia(this.props.config.entryId);
this.player.loadMedia(this.props.config.mediaInfo);
}


Expand Down

0 comments on commit 8ab4980

Please sign in to comment.