From d8baf378eaca3a4c37f5603b19a25ddfa236862a Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Fri, 4 Apr 2025 10:54:21 +0800 Subject: [PATCH] refactor(Navbar): replace FormOutlined with SearchOutlined and update tooltip functionality --- src/renderer/src/pages/home/Navbar.tsx | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/renderer/src/pages/home/Navbar.tsx b/src/renderer/src/pages/home/Navbar.tsx index dea594c8..b58d4193 100644 --- a/src/renderer/src/pages/home/Navbar.tsx +++ b/src/renderer/src/pages/home/Navbar.tsx @@ -1,4 +1,4 @@ -import { FormOutlined, SearchOutlined } from '@ant-design/icons' +import { SearchOutlined } from '@ant-design/icons' import { Navbar, NavbarLeft, NavbarRight } from '@renderer/components/app/Navbar' import { HStack } from '@renderer/components/Layout' import MinAppsPopover from '@renderer/components/Popups/MinAppsPopover' @@ -64,10 +64,10 @@ const HeaderNavbar: FC = ({ activeAssistant }) => { - - EventEmitter.emit(EVENT_NAMES.ADD_NEW_TOPIC)}> - - + + SearchPopup.show()}> + + )} @@ -86,11 +86,6 @@ const HeaderNavbar: FC = ({ activeAssistant }) => { - - SearchPopup.show()}> - - -