Cleanup ChangePassword component

This commit is contained in:
mashazyu
2018-12-07 23:56:33 +01:00
parent 7ddf9a7002
commit 857b8fc1f1
2 changed files with 70 additions and 62 deletions
+1 -5
View File
@@ -59,11 +59,7 @@ export default class CreatePassword extends Component {
}
handleConfirmationInput = (passwordConfirmation) => {
const { password } = this.state
this.setState({
passwordConfirmation,
isPasswordsMatch: passwordConfirmation === password
})
this.setState({ passwordConfirmation })
}
render () {