From b6d74a5dd5c9f117def1d542c89f979428697003 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Thu, 9 Nov 2023 23:43:46 +0300 Subject: [PATCH] apps/web: Form ui improvements --- apps/web/components/Form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/components/Form.tsx b/apps/web/components/Form.tsx index 30ccd04..982109a 100644 --- a/apps/web/components/Form.tsx +++ b/apps/web/components/Form.tsx @@ -12,7 +12,7 @@ export function Form({ data, metaData, title }: Props) { return ( {title} -
+
{Object.keys(metaData).map((name) => { const { fieldType, label, max, min = 0, visible, ...props } = metaData[name]; @@ -39,7 +39,7 @@ export function Form({ data, metaData, title }: Props) { })}
-
+