Updates button activity definition when entering new password

This commit is contained in:
mashazyu
2020-03-30 09:27:50 +02:00
committed by Sofiya Tepikin
parent eff15e67ee
commit 9d7121f5d6
@@ -60,7 +60,7 @@ export default class EnterNewPassword extends Component {
} = this.state
const labels = settings.passwordSettings
const isButtonActive =
Boolean(password.length && passwordConfirmation.length)
(password.length > 0) && (passwordConfirmation.length > 0)
return (
<React.Fragment>