mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 23:56:18 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -51,7 +51,7 @@ class Content extends Component {
|
||||
</table>
|
||||
</Fragment>
|
||||
);
|
||||
return items.length ? table : emptyTip;
|
||||
return items.length ? table : emptyTip;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -113,7 +113,7 @@ class DeviceErrors extends Component {
|
||||
this.setState({
|
||||
loading: false,
|
||||
errorMsg: Utils.getErrorMsg(error, true) // true: show login tip if 403
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user