From cbb50c14e1fd8513d3b89cf958a12e5499a1cd01 Mon Sep 17 00:00:00 2001 From: "ShengYan, Zhang" Date: Thu, 11 May 2023 15:42:32 +0800 Subject: [PATCH] fix: bug #1413 input '/' when clicking icon to open prompt modal --- app/components/chat.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 54def01c..d4767311 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -790,6 +790,7 @@ export function Chat() { hitBottom={hitBottom} showPromptHints={() => { inputRef.current?.focus(); + setUserInput("/"); onSearch(""); }} />