diff --git a/src/renderer/src/pages/home/HomePage.tsx b/src/renderer/src/pages/home/HomePage.tsx index 5343bc64..161f8830 100644 --- a/src/renderer/src/pages/home/HomePage.tsx +++ b/src/renderer/src/pages/home/HomePage.tsx @@ -36,7 +36,7 @@ const HomePage: FC = () => { }, [state]) return ( - + {showAssistants && ( diff --git a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx index e19422c4..87e9394e 100644 --- a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx +++ b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx @@ -25,7 +25,7 @@ import { translateText } from '@renderer/services/TranslateService' import store, { useAppDispatch, useAppSelector } from '@renderer/store' import { setGenerating, setSearching } from '@renderer/store/runtime' import { Assistant, FileType, KnowledgeBase, Message, Topic } from '@renderer/types' -import { delay, getFileExtension, uuid } from '@renderer/utils' +import { classNames, delay, getFileExtension, uuid } from '@renderer/utils' import { documentExts, imageExts, textExts } from '@shared/config/constant' import { Button, Popconfirm, Tooltip } from 'antd' import TextArea, { TextAreaRef } from 'antd/es/input/TextArea' @@ -388,9 +388,12 @@ const Inputbar: FC = ({ assistant: _assistant, setActiveTopic }) => { } return ( - + - +