Skip to content

Commit

Permalink
🐛 fix: 修复部分表述信息
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed May 5, 2024
1 parent 5f1b9db commit 0c95181
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/features/ChatHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Flexbox } from 'react-layout-kit';

import AgentMeta from '@/components/agent/AgentMeta';
import ToggleChatSideBar from '@/features/Actions/ToggleChatSideBar';
import ToggleSessionList from '@/features/Actions/ToggleSessionList';
import Video from '@/features/Actions/Video';
import Voice from '@/features/Actions/Voice';
import { sessionSelectors, useSessionStore } from '@/store/session';
Expand All @@ -18,7 +17,7 @@ const Header = () => {
return (
<Flexbox justify={'space-between'} horizontal align={'center'} className={styles.header}>
<Space>
<ToggleSessionList />
{/*<ToggleSessionList />*/}
<AgentMeta meta={currentAgent?.meta} />
</Space>
<Space>
Expand Down
2 changes: 1 addition & 1 deletion src/features/SessionList/List/Item/Actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default (props: ActionsProps) => {
danger: true,
icon: <Trash2 />,
key: 'delete',
label: '删除对话',
label: '删除会话',
onClick: ({ domEvent }) => {
domEvent.stopPropagation();
modal.confirm({
Expand Down
2 changes: 1 addition & 1 deletion src/layout/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Header = (props: Props) => {
<ActionIcon
icon={UserRoundPlusIcon}
key="user-plus"
title={'提交助手'}
title={'创建角色'}
onClick={() => window.open('https://github.com/lobehub/lobe-vidol-market', '_blank')}
size="large"
/>,
Expand Down

0 comments on commit 0c95181

Please sign in to comment.