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

This commit is contained in:
ShengYan, Zhang 2023-05-11 15:42:32 +08:00
parent d42622a5c1
commit cbb50c14e1
1 changed files with 1 additions and 0 deletions

View File

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