From 946b9b12a405d167ae83f0ab66a4fbee2087b6c2 Mon Sep 17 00:00:00 2001 From: DuongNguyendev Date: Wed, 13 May 2026 19:00:35 +0700 Subject: [PATCH] fix 2 form --- app/components/forms/FeedbackForm.tsx | 12 +++---- app/components/forms/RegistrationForm.tsx | 4 +-- app/data/feedback.json | 43 ++++++++--------------- app/utils/image.ts | 4 +-- 4 files changed, 22 insertions(+), 41 deletions(-) diff --git a/app/components/forms/FeedbackForm.tsx b/app/components/forms/FeedbackForm.tsx index 3269001..d0c5b8b 100644 --- a/app/components/forms/FeedbackForm.tsx +++ b/app/components/forms/FeedbackForm.tsx @@ -9,7 +9,6 @@ type Question = { id: string; type: "rating" | "dropdown" | "scale" | "rating_labeled" | "checkbox_group" | "long_text"; label: string; - labelVi: string; min?: number; max?: number; placeholder?: string; @@ -127,7 +126,6 @@ export default function FeedbackForm({ data }: { data: FeedbackJson }) {
-

{q.labelVi}

{q.type === "rating" && ( @@ -239,7 +237,7 @@ export default function FeedbackForm({ data }: { data: FeedbackJson }) { {q.type === "long_text" && (