1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

change empty tips (#6565)

* [draft] change empty tips

* remove useless codes
This commit is contained in:
Michael An
2024-08-20 11:19:11 +08:00
committed by GitHub
parent 559c99fffa
commit 9051ad836e
69 changed files with 208 additions and 284 deletions

View File

@@ -60,9 +60,7 @@ class Content extends Component {
return <p className="error text-center">{errorMsg}</p>;
} else {
const emptyTip = (
<EmptyTip>
<h2>{gettext('No libraries')}</h2>
</EmptyTip>
<EmptyTip text={gettext('No libraries')}/>
);
const initialSortIcon = <span className="sf3-font sf3-font-sort3"></span>;
const sortIcon = <span className="sf3-font sf3-font-down"></span>;