mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 04:48:24 +08:00
bug
This commit is contained in:
@@ -160,7 +160,7 @@ class ChangePassword extends React.Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
const { editing, errors } = this.state;
|
||||
const { editing, errors, showErrors } = this.state;
|
||||
|
||||
return (
|
||||
<section
|
||||
@@ -189,7 +189,7 @@ class ChangePassword extends React.Component {
|
||||
value={this.state.formData.oldPassword}
|
||||
hasError={this.hasError('oldPassword')}
|
||||
errorMsg={errors['oldPassword']}
|
||||
showErrors
|
||||
showError={showErrors}
|
||||
>
|
||||
<span className={styles.detailBottomBox}>
|
||||
<a
|
||||
@@ -209,7 +209,7 @@ class ChangePassword extends React.Component {
|
||||
value={this.state.formData.newPassword}
|
||||
hasError={this.hasError('newPassword')}
|
||||
errorMsg={errors['newPassword']}
|
||||
showErrors
|
||||
showError={showErrors}
|
||||
/>
|
||||
<InputField
|
||||
id="confirmNewPassword"
|
||||
@@ -220,7 +220,7 @@ class ChangePassword extends React.Component {
|
||||
value={this.state.formData.confirmNewPassword}
|
||||
hasError={this.hasError('confirmNewPassword')}
|
||||
errorMsg={errors['confirmNewPassword']}
|
||||
showErrors
|
||||
showError={showErrors}
|
||||
/>
|
||||
<div className={styles.actions}>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user