mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	Update home.tsx
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user