Skip to content

Commit

Permalink
fix: Ensure failed state is reset when users retry
Browse files Browse the repository at this point in the history
  • Loading branch information
Siobhan committed Feb 22, 2024
1 parent ae25e26 commit 1955fc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class VideoPressEdit extends Component {
setAttributes( { url: payload.mediaUrl } );
}
if ( ! this.state.isUploadInProgress ) {
this.setState( { isUploadInProgress: true } );
this.setState( { isUploadInProgress: true, isUploadFailed: false } );
}
}

Expand Down

0 comments on commit 1955fc1

Please sign in to comment.