mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 12:14:45 +08:00
fix: bug #1413 input '/' when clicking icon to open prompt modal
This commit is contained in:
@@ -790,6 +790,7 @@ export function Chat() {
|
|||||||
hitBottom={hitBottom}
|
hitBottom={hitBottom}
|
||||||
showPromptHints={() => {
|
showPromptHints={() => {
|
||||||
inputRef.current?.focus();
|
inputRef.current?.focus();
|
||||||
|
setUserInput("/");
|
||||||
onSearch("");
|
onSearch("");
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user