From b4cf145ed473471fae71071280cceff85c96ac0d 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 82d37ebcc6..dce62038a8 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} + />