diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-09-24 11:27:24 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-09-24 11:27:24 -0700 |
commit | 4ea176007d2228364d4d3fa4519898047cef988f (patch) | |
tree | cc42a2c6c7cc5a449bd5c3891323b881350d6edd /extension/react-app/src/pages/gui.tsx | |
parent | 8c5f00155fe2d15a77bde21de72b07969c5561af (diff) | |
download | sncontinue-4ea176007d2228364d4d3fa4519898047cef988f.tar.gz sncontinue-4ea176007d2228364d4d3fa4519898047cef988f.tar.bz2 sncontinue-4ea176007d2228364d4d3fa4519898047cef988f.zip |
feat: :lipstick: setting to change font size
Diffstat (limited to 'extension/react-app/src/pages/gui.tsx')
-rw-r--r-- | extension/react-app/src/pages/gui.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/react-app/src/pages/gui.tsx b/extension/react-app/src/pages/gui.tsx index f6a09bbc..576abd40 100644 --- a/extension/react-app/src/pages/gui.tsx +++ b/extension/react-app/src/pages/gui.tsx @@ -279,7 +279,7 @@ function GUI(props: GUIProps) { } // cmd+enter to /edit - if (isMetaEquivalentKeyPressed(event)) { + if (event && isMetaEquivalentKeyPressed(event)) { input = `/edit ${input}`; } (mainTextInputRef.current as any).setInputValue(""); |