This commit is contained in:
ShiinaRinne 2024-08-11 21:13:40 +08:00 committed by GitHub
commit 053388893e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ import { isPreviewable } from "../../config";
import { changeThemeColor, sizeToString, vhCheck } from "../../utils";
import Uploader from "../Uploader/Uploader.js";
import pathHelper from "../../utils/page";
import SezrchBar from "./SearchBar";
import SearchBar from "./SearchBar";
import StorageBar from "./StorageBar";
import UserAvatar from "./UserAvatar";
import UserInfo from "./UserInfo";
@ -653,7 +653,7 @@ class NavbarCompoment extends Component {
})}
</Typography>
)}
{this.props.selected.length === 0 && <SezrchBar />}
{this.props.selected.length === 0 && <SearchBar />}
<div className={classes.grow} />
{this.props.selected.length > 0 &&
(isHomePage || isSharePage) && (