From 71d4f6ad37b5b595ef33b629e33041ae20773eb9 Mon Sep 17 00:00:00 2001 From: Allen Date: Fri, 8 Dec 2023 20:07:28 -0800 Subject: [PATCH] add accordion form --- app/admin/AccordionInputForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/admin/AccordionInputForm.tsx b/app/admin/AccordionInputForm.tsx index d4ba992..cb897bc 100644 --- a/app/admin/AccordionInputForm.tsx +++ b/app/admin/AccordionInputForm.tsx @@ -8,6 +8,7 @@ import { Button } from '@/components/ui/button'; import { useState } from 'react'; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion'; import { removeEmptyStringFields } from '@/utils'; +import JsonView from '@uiw/react-json-view'; type InputFormProps = { formSchema: z.ZodObject; @@ -165,7 +166,7 @@ export default function AccordionInputForm({ /> ))} - +