mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 10:58:33 +00:00
Fix eslint warnings (#5635)
* 01 fix eslint warnings * fix code warnings * fix code warnings * fix code warnings * fix code warnings * fix code warnings
This commit is contained in:
@@ -28,19 +28,19 @@ class ChangeRepoPasswordDialog extends React.Component {
|
||||
this.setState({
|
||||
oldPassword: e.target.value
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
handleNewPasswordInputChange = (e) => {
|
||||
this.setState({
|
||||
newPassword: e.target.value
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
handleNewPasswordAgainInputChange = (e) => {
|
||||
this.setState({
|
||||
newPasswordAgain: e.target.value
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
formSubmit = (e) => {
|
||||
const { oldPassword, newPassword, newPasswordAgain } = this.state;
|
||||
@@ -89,7 +89,7 @@ class ChangeRepoPasswordDialog extends React.Component {
|
||||
submitBtnDisabled: false
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
render() {
|
||||
|
Reference in New Issue
Block a user