From ebb886960fcfdca7dba920967090b0fdeb26ab0f Mon Sep 17 00:00:00 2001 From: Nishant Harkut <156298209+nishantharkut@users.noreply.github.com> Date: Sat, 4 Apr 2026 18:51:12 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20When=20a=20decision=20search=20hit=20nav?= =?UTF-8?q?igates=20here=20with=20{=20chatQuery=20},=20the=20effe=E2=80=A6?= =?UTF-8?q?=20on=20Frontend/src/components/ChatPanel.tsx:L244=20[tier-1-ex?= =?UTF-8?q?tracted]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/src/components/ChatPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/src/components/ChatPanel.tsx b/Frontend/src/components/ChatPanel.tsx index c35cb6e..68a7d14 100644 --- a/Frontend/src/components/ChatPanel.tsx +++ b/Frontend/src/components/ChatPanel.tsx @@ -241,7 +241,7 @@ export function ChatPanel({ onChatComplete }: { onChatComplete?: () => void } = const q = (location.state as { chatQuery?: string } | null)?.chatQuery?.trim(); if (!q || !repoReady) return; navigate(location.pathname, { replace: true, state: {} }); - setInput(q); + setInput(""); void sendChatQuestion(q); }, [location.key, location.pathname, navigate, repoReady, sendChatQuestion]);