From 0da2a2db7e13eb28094a37cf771e792a43686043 Mon Sep 17 00:00:00 2001 From: Tatsu723 Date: Sat, 9 Aug 2025 13:51:06 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chatform=E3=81=AE=E3=83=87=E3=82=B6?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E8=AA=BF=E6=95=B4+style=E3=81=AE=E6=9B=B8?= =?UTF-8?q?=E6=8F=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[docs_id]/chatForm.tsx | 101 +++---------------------------------- 1 file changed, 8 insertions(+), 93 deletions(-) diff --git a/app/[docs_id]/chatForm.tsx b/app/[docs_id]/chatForm.tsx index 0b86077..ee63e0a 100644 --- a/app/[docs_id]/chatForm.tsx +++ b/app/[docs_id]/chatForm.tsx @@ -42,111 +42,26 @@ export function ChatForm() { }; return ( <> - - -
-
+ +

AIへ質問

+
-
+
+
- {response &&
{response}
} + )} + {!isFormVisible && ( + + )} + + {response && ( +
+

AIの回答

+
+
+
{response}
+
+
+
+ )} + + {isLoading && ( +
+ AIが考え中です… +
+ )} + ); }