소스 검색

fix: bug #1413 input '/' when clicking icon to open prompt modal

ShengYan, Zhang 1 년 전
부모
커밋
cbb50c14e1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/components/chat.tsx

+ 1 - 0
app/components/chat.tsx

@@ -790,6 +790,7 @@ export function Chat() {
           hitBottom={hitBottom}
           showPromptHints={() => {
             inputRef.current?.focus();
+            setUserInput("/");
             onSearch("");
           }}
         />