Skip to content

Commit

Permalink
Merge pull request #1490 from creative-commoners/pulls/2.0/lifecycle
Browse files Browse the repository at this point in the history
MNT Update comment
  • Loading branch information
GuySartorelli authored Mar 30, 2023
2 parents 40035a0 + ff4f909 commit faca100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/FormBuilder/FormBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class FormBuilder extends Component {
} else {
props.onClick = this.handleAction;

// Reset through componentWillReceiveProps()
// Reset component loading prop
if (this.props.submitting && this.state.submittingAction === action.name) {
props.loading = true;
}
Expand Down

0 comments on commit faca100

Please sign in to comment.