Skip to content

Commit

Permalink
fix: bug #1413 input '/' when clicking icon to open prompt modal
Browse files Browse the repository at this point in the history
  • Loading branch information
yanCode committed May 11, 2023
1 parent d42622a commit cbb50c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ export function Chat() {
hitBottom={hitBottom}
showPromptHints={() => {
inputRef.current?.focus();
setUserInput("/");
onSearch("");
}}
/>
Expand Down

0 comments on commit cbb50c1

Please sign in to comment.