Преглед на файлове

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 } })