mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 19:01:42 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -16,7 +16,7 @@ class ShareLinkPermissionSelect extends React.Component {
|
||||
super(props);
|
||||
|
||||
this.state = {
|
||||
currentOption: this.props.currentPerm
|
||||
currentOption: this.props.currentPerm
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ class ShareLinkPermissionSelect extends React.Component {
|
||||
|
||||
const currentOption = e.target.value;
|
||||
this.setState({
|
||||
currentOption: currentOption
|
||||
currentOption: currentOption
|
||||
});
|
||||
|
||||
this.props.changePerm(currentOption);
|
||||
|
Reference in New Issue
Block a user