diff --git a/packages/light-react/src/Accounts/CreateAccount/AccountPassword/AccountPassword.js b/packages/light-react/src/Accounts/CreateAccount/AccountPassword/AccountPassword.js index 1ff1e31c5f3c7acf448da7a7edd76c82db21055f..365d943d28f59cfa6baffd3ae7f4a43e18fe3f48 100644 --- a/packages/light-react/src/Accounts/CreateAccount/AccountPassword/AccountPassword.js +++ b/packages/light-react/src/Accounts/CreateAccount/AccountPassword/AccountPassword.js @@ -14,7 +14,6 @@ import CreateAccountContainer from '../CreateAccountContainer'; class AccountPassword extends Component { state = { confirm: '', - hint: '', password: '' }; @@ -22,10 +21,6 @@ class AccountPassword extends Component { this.setState({ confirm: value }); }; - handleHintChange = ({ target: { value } }) => { - this.setState({ hint: value }); - }; - handlePasswordChange = ({ target: { value } }) => { this.setState({ password: value }); }; @@ -36,16 +31,15 @@ class AccountPassword extends Component { history, location: { pathname } } = this.props; - const { hint, password } = this.state; + const { password } = this.state; createAccountStore.setPassword(password); - createAccountStore.setHint(hint); const currentStep = pathname.slice(-1); history.push(`/accounts/new/${+currentStep + 1}`); }; render () { - const { confirm, hint, password } = this.state; + const { confirm, password } = this.state; return ( @@ -63,20 +57,13 @@ class AccountPassword extends Component { /> - -