mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 15:54:39 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -92,7 +92,7 @@ class Item extends Component {
|
||||
|
||||
toggleDialog = () => {
|
||||
this.setState({
|
||||
isConfirmUnlinkDialogOpen: !this.state.isConfirmUnlinkDialogOpen
|
||||
isConfirmUnlinkDialogOpen: !this.state.isConfirmUnlinkDialogOpen
|
||||
});
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ class Item extends Component {
|
||||
{this.state.isConfirmUnlinkDialogOpen &&
|
||||
<ConfirmUnlinkDeviceDialog
|
||||
executeOperation={this.unlinkDevice}
|
||||
toggleDialog={this.toggleDialog}
|
||||
toggleDialog={this.toggleDialog}
|
||||
/>
|
||||
}
|
||||
</React.Fragment>
|
||||
|
Reference in New Issue
Block a user