瀏覽代碼

hide search button text

heweikang 1 年之前
父節點
當前提交
e3f499be0c
共有 1 個文件被更改,包括 0 次插入1 次删除
  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 } })