Skip to content

Commit

Permalink
increasing style exponentially πŸ‘—βœ¨πŸ˜Ž
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-hull committed Jun 10, 2021
1 parent 5919dc7 commit 66cbd4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/NewPasswordForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class NewPasswordForm extends React.Component {
}

componentDidUpdate(prevProps, prevState) {
const eitherPasswordChanged = this.props.password !== prevProps.password
const eitherPasswordChanged = (this.props.password !== prevProps.password)
|| this.state.confirmNewPassword !== prevState.confirmNewPassword;
if (eitherPasswordChanged) {
this.props.updateIsFormValid(this.isValidForm());
Expand Down

0 comments on commit 66cbd4b

Please sign in to comment.