From b69ce5f3c7219ccbf2e8b244977fe0ca32faf71e Mon Sep 17 00:00:00 2001 From: tomolld Date: Sun, 19 Jan 2025 22:29:43 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=83=A2?= =?UTF-8?q?=E3=83=87=E3=83=AB=E3=81=AEcontent=E3=83=95=E3=82=A3=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E3=83=89=E3=82=92text=E3=83=95=E3=82=A3=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E3=83=89=E3=81=AB=E5=A4=89=E6=9B=B4=E3=81=97=E3=80=81?= =?UTF-8?q?=E9=96=A2=E9=80=A3=E3=81=99=E3=82=8B=E3=82=B3=E3=83=B3=E3=83=9D?= =?UTF-8?q?=E3=83=BC=E3=83=8D=E3=83=B3=E3=83=88=E3=81=A8=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=82=92=E6=9B=B4=E6=96=B0=E3=81=97=E3=81=BE=E3=81=97?= =?UTF-8?q?=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources+/comment/components/CommentForm.tsx | 10 ++++------ .../resources+/comment/components/CommentList.tsx | 2 +- web/app/routes/resources+/comment/route.test.tsx | 10 +++++----- web/app/routes/resources+/comment/route.tsx | 4 ++-- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/web/app/routes/resources+/comment/components/CommentForm.tsx b/web/app/routes/resources+/comment/components/CommentForm.tsx index 9619c218..f0d7678d 100644 --- a/web/app/routes/resources+/comment/components/CommentForm.tsx +++ b/web/app/routes/resources+/comment/components/CommentForm.tsx @@ -21,7 +21,7 @@ export function CommentForm({ shouldValidate: "onInput", defaultValue: { pageId: pageId, - content: "", + text: "", }, }); @@ -36,7 +36,7 @@ export function CommentForm({