From 36966cfc14cbc7a7c83363e5a832b42e9235d209 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Fri, 21 Mar 2025 13:55:40 +0800 Subject: [PATCH] refactor(Inputbar): reposition MentionModelsButton for improved accessibility - Moved MentionModelsButton to a new position within the Inputbar component for better user experience. - Ensured consistent functionality while enhancing the layout of the input toolbar. --- src/renderer/src/pages/home/Inputbar/Inputbar.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx index 82d37ebc..dce62038 100644 --- a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx +++ b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx @@ -716,11 +716,6 @@ const Inputbar: FC = ({ assistant: _assistant, setActiveTopic, topic }) = - onMentionModel(model, mentionFromKeyboard)} - ToolbarButton={ToolbarButton} - /> = ({ assistant: _assistant, setActiveTopic, topic }) = ToolbarButton={ToolbarButton} /> )} + onMentionModel(model, mentionFromKeyboard)} + ToolbarButton={ToolbarButton} + />