mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
fix key down events
This commit is contained in:
parent
2902fd6d28
commit
87c5d24f29
4 changed files with 9 additions and 9 deletions
|
|
@ -73,7 +73,7 @@ export function ChatPanelView(props: ChatPanelViewProps) {
|
|||
tabIndex={0}
|
||||
onClick={handleGeneratePost}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" || e.key === " ") {
|
||||
if (e.key === "Enter") {
|
||||
e.preventDefault();
|
||||
handleGeneratePost();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue