diff options
Diffstat (limited to 'extension/react-app/src')
| -rw-r--r-- | extension/react-app/src/pages/gui.tsx | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/extension/react-app/src/pages/gui.tsx b/extension/react-app/src/pages/gui.tsx index 35c17444..60ad0c2c 100644 --- a/extension/react-app/src/pages/gui.tsx +++ b/extension/react-app/src/pages/gui.tsx @@ -203,6 +203,8 @@ function GUI(props: GUIProps) {      if (mainTextInputRef.current) {        let input = (mainTextInputRef.current as any).inputValue; +      if (input.trim() === "") return; +        if (input.startsWith("#") && (input.length === 7 || input.length === 4)) {          localStorage.setItem("continueButtonColor", input);          (mainTextInputRef.current as any).setInputValue(""); @@ -241,7 +243,6 @@ function GUI(props: GUIProps) {            return;          }        } -      if (input.trim() === "") return;        client.sendMainInput(input);        dispatch(temporarilyPushToUserInputQueue(input)); | 
