Update sidebar.tsx

This commit is contained in:
Codeliu 2024-11-17 07:43:25 +08:00 committed by GitHub
parent a2adfbbd32
commit 99f781f57c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -231,8 +231,8 @@ export function SideBar(props: { className?: string }) {
{...props} {...props}
> >
<SideBarHeader <SideBarHeader
title="NextChat" title="代码龙少儿编程"
subTitle="Build your own AI assistant." subTitle="无限成长"
logo={<ChatGptIcon />} logo={<ChatGptIcon />}
shouldNarrow={shouldNarrow} shouldNarrow={shouldNarrow}
> >
@ -250,13 +250,13 @@ export function SideBar(props: { className?: string }) {
}} }}
shadow shadow
/> />
<IconButton <!--<IconButton
icon={<DiscoveryIcon />} icon={<DiscoveryIcon />}
text={shouldNarrow ? undefined : Locale.Discovery.Name} text={shouldNarrow ? undefined : Locale.Discovery.Name}
className={styles["sidebar-bar-button"]} className={styles["sidebar-bar-button"]}
onClick={() => setShowPluginSelector(true)} onClick={() => setShowPluginSelector(true)}
shadow shadow
/> />-->
</div> </div>
{showPluginSelector && ( {showPluginSelector && (
<Selector <Selector