From 828e8637238eea7658e93dbbb135e3566fbed1e9 Mon Sep 17 00:00:00 2001 From: Zane <75694352+zanesq@users.noreply.github.com> Date: Thu, 15 Jan 2026 07:39:30 -0800 Subject: [PATCH] Fix popular topics not starting chat when clicked (#6508) --- ui/desktop/src/components/BaseChat.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ui/desktop/src/components/BaseChat.tsx b/ui/desktop/src/components/BaseChat.tsx index 67e38830..7e6057fb 100644 --- a/ui/desktop/src/components/BaseChat.tsx +++ b/ui/desktop/src/components/BaseChat.tsx @@ -402,7 +402,15 @@ function BaseChatContent({
) : !recipe && showPopularTopics ? ( - handleSubmit(text)} /> + { + const syntheticEvent = { + detail: { value: text }, + preventDefault: () => {}, + } as unknown as React.FormEvent; + handleFormSubmit(syntheticEvent); + }} + /> ) : null}