mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -44,7 +44,7 @@ class SetGroupQuotaDialog extends React.Component {
|
||||
} else {
|
||||
const err = gettext('Quota is invalid.');
|
||||
this.setState({ errMessage: err });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handleChange = (e) => {
|
||||
@@ -66,8 +66,8 @@ class SetGroupQuotaDialog extends React.Component {
|
||||
<ModalBody>
|
||||
<InputGroup>
|
||||
<Input
|
||||
onKeyPress={this.handleKeyPress}
|
||||
value={this.state.quota}
|
||||
onKeyPress={this.handleKeyPress}
|
||||
value={this.state.quota}
|
||||
onChange={this.handleChange}
|
||||
innerRef={input => {this.newInput = input;}}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user