Browse Source

hide search button text

heweikang 1 năm trước cách đây
mục cha
commit
e3f499be0c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      app/components/sidebar.tsx

+ 0 - 1
app/components/sidebar.tsx

@@ -252,7 +252,6 @@ export function SideBar(props: { className?: string }) {
           />
           <IconButton
             icon={<SearchIcon />}
-            text={shouldNarrow ? undefined : Locale.SearchChat.Name}
             className={styles["sidebar-bar-button"]}
             onClick={() =>
               navigate(Path.SearchChat, { state: { fromHome: true } })