소스 검색

Update home.tsx

Yifei Zhang 2 년 전
부모
커밋
17ee2ee135
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/components/home.tsx

+ 1 - 1
app/components/home.tsx

@@ -203,7 +203,7 @@ export function Chat(props: { showSideBar?: () => void }) {
   };
 
   // only search prompts when user input is short
-  const SEARCH_TEXT_LIMIT = 10;
+  const SEARCH_TEXT_LIMIT = 30;
   const onInput = (text: string) => {
     setUserInput(text);
     const n = text.trim().length;