diff --git a/client/src/plus/ai-help/index.tsx b/client/src/plus/ai-help/index.tsx index 3b7bf62efa81..682759aae4e4 100644 --- a/client/src/plus/ai-help/index.tsx +++ b/client/src/plus/ai-help/index.tsx @@ -167,7 +167,7 @@ function AIHelpUserQuestion({ onKeyDown={(event) => { if (event.key === "Enter" && !event.shiftKey) { event.preventDefault(); - if (canEdit && question) { + if (canEdit && question?.trim()) { gleanClick(`${AI_HELP}: edit submit`); setEditing(false); submit(