forked from XiaoMo/ChatGPT-Next-Web
fix: bug #1413 input '/' when clicking icon to open prompt modal
This commit is contained in:
parent
d42622a5c1
commit
cbb50c14e1
@ -790,6 +790,7 @@ export function Chat() {
|
|||||||
hitBottom={hitBottom}
|
hitBottom={hitBottom}
|
||||||
showPromptHints={() => {
|
showPromptHints={() => {
|
||||||
inputRef.current?.focus();
|
inputRef.current?.focus();
|
||||||
|
setUserInput("/");
|
||||||
onSearch("");
|
onSearch("");
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user