From fe256417d5b82f986adb95f4b0d130b3ceac94f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Farkas?= Date: Wed, 24 Sep 2025 12:53:56 +0200 Subject: [PATCH] fix: submit question on return key --- frontend/index.html | 2 +- frontend/src/routes/conversation.$sessionId.tsx | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index e4b78ea..c46c309 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - Vite + React + TS + Kwisatz Haderach - Dune Expert
diff --git a/frontend/src/routes/conversation.$sessionId.tsx b/frontend/src/routes/conversation.$sessionId.tsx index f12fa8f..b2de561 100644 --- a/frontend/src/routes/conversation.$sessionId.tsx +++ b/frontend/src/routes/conversation.$sessionId.tsx @@ -164,7 +164,13 @@ function RouteComponent() { -
+
{ + e.preventDefault(); + handleSendQuestion(); + }} + > setInputValue(e.target.value)} disabled={isBusy} /> - -
+ );