|
|
|
|
@ -19,11 +19,9 @@ const ChangePassword = () => { |
|
|
|
|
const { |
|
|
|
|
confirmPassword, |
|
|
|
|
error, |
|
|
|
|
// formError,
|
|
|
|
|
handleSubmit, |
|
|
|
|
isFetching, |
|
|
|
|
isSubmitDisabled, |
|
|
|
|
// onPasswordBlur,
|
|
|
|
|
onConfirmPasswordChange, |
|
|
|
|
onPasswordChange, |
|
|
|
|
password, |
|
|
|
|
@ -33,9 +31,6 @@ const ChangePassword = () => { |
|
|
|
|
<CenterBlock> |
|
|
|
|
<Logo /> |
|
|
|
|
<Form |
|
|
|
|
// method='PUT'
|
|
|
|
|
// // ref={formRef}
|
|
|
|
|
// // action={url}
|
|
|
|
|
onSubmit={handleSubmit} |
|
|
|
|
> |
|
|
|
|
<BlockTitle t='set_new_password' /> |
|
|
|
|
@ -50,7 +45,6 @@ const ChangePassword = () => { |
|
|
|
|
placeholderLexic='password_new' |
|
|
|
|
value={password} |
|
|
|
|
onChange={onPasswordChange} |
|
|
|
|
// onBlur={onPasswordBlur}
|
|
|
|
|
/> |
|
|
|
|
<PasswordInput |
|
|
|
|
type='password' |
|
|
|
|
@ -59,7 +53,6 @@ const ChangePassword = () => { |
|
|
|
|
placeholderLexic='password_repeat' |
|
|
|
|
value={confirmPassword} |
|
|
|
|
onChange={onConfirmPasswordChange} |
|
|
|
|
// onBlur={onPasswordBlur}
|
|
|
|
|
/> |
|
|
|
|
</InputGroup> |
|
|
|
|
<Error> |
|
|
|
|
|