소스 검색

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