Update sidebar.tsx

This commit is contained in:
王力斌 2024-09-20 17:17:50 +08:00 committed by GitHub
parent 8631be17f5
commit d7837db501
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -224,11 +224,11 @@ export function SideBar(props: { className?: string }) {
{...props} {...props}
> >
<SideBarHeader <SideBarHeader
title="小王的GPT" title="ChatGPT-4.0"
subTitle="欢迎使用小王的ChatGPT." subTitle="欢迎使用ChatGPT-4.0."
logo={<ChatGptIcon />} logo={<ChatGptIcon />}
> >
<div className={styles["sidebar-header-bar"]}> <!-- <div className={styles["sidebar-header-bar"]}>
<IconButton <IconButton
icon={<MaskIcon />} icon={<MaskIcon />}
text={shouldNarrow ? undefined : Locale.Mask.Name} text={shouldNarrow ? undefined : Locale.Mask.Name}
@ -249,7 +249,7 @@ export function SideBar(props: { className?: string }) {
onClick={() => setShowPluginSelector(true)} onClick={() => setShowPluginSelector(true)}
shadow shadow
/> />
</div> </div>-->
{showPluginSelector && ( {showPluginSelector && (
<Selector <Selector
items={[ items={[