Skip to content

Commit

Permalink
fix undefined prop bug in task editor (#2347)
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinBeczak authored May 29, 2024
1 parent 2e94b14 commit a920447
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export class EditTask extends Component {
}
else {
const challengeState = _cloneDeep(this.challengeState)
challengeState.refreshAfterSave = true
if (challengeState) {
challengeState.refreshAfterSave = true
}

this.props.history.push({
pathname:`/admin/project/${this.props.projectId}/` +
Expand Down

0 comments on commit a920447

Please sign in to comment.