1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 15:26:19 +00:00

fix code format (#6365)

This commit is contained in:
Michael An
2024-07-18 11:58:42 +08:00
committed by GitHub
parent c5d02b33b2
commit 67210c7363
450 changed files with 2425 additions and 2385 deletions

View File

@@ -12,7 +12,7 @@ import { Utils } from '../../utils/utils';
class Content extends Component {
render() {
const {loading, errorMsg, items} = this.props.data;
const { loading, errorMsg, items } = this.props.data;
if (loading) {
return <span className="loading-icon loading-tip"></span>;
@@ -48,7 +48,7 @@ class Content extends Component {
const isDesktop = Utils.isDesktop();
return items.length ? (
<table className={`table-hover ${isDesktop ? '': 'table-thead-hidden'}`}>
<table className={`table-hover ${isDesktop ? '' : 'table-thead-hidden'}`}>
{isDesktop ? desktopThead : mobileThead}
<tbody>
{items.map((item, index) => {
@@ -56,7 +56,7 @@ class Content extends Component {
})}
</tbody>
</table>
): emptyTip;
) : emptyTip;
}
}
}