From 02fb71c0ff69d293911f4b0945ab964a87402d0c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 15 May 2023 15:38:04 -0300 Subject: third form and placeholder for the next ones --- packages/exchange-backoffice-ui/src/NiceForm.tsx | 65 +++++++++++------------- 1 file changed, 31 insertions(+), 34 deletions(-) (limited to 'packages/exchange-backoffice-ui/src/NiceForm.tsx') diff --git a/packages/exchange-backoffice-ui/src/NiceForm.tsx b/packages/exchange-backoffice-ui/src/NiceForm.tsx index 64f8aceea..b7790bbec 100644 --- a/packages/exchange-backoffice-ui/src/NiceForm.tsx +++ b/packages/exchange-backoffice-ui/src/NiceForm.tsx @@ -14,43 +14,40 @@ export function NiceForm({ onUpdate: (d: Partial) => void; }) { const { i18n } = useTranslationContext(); - console.log("render"); return ( - - -
- {form.design.map((section, i) => { - return ( -
-
-

- {section.title} -

- {section.description && ( -

- {section.description} -

- )} -
-
-
-
- -
+ +
+ {form.design.map((section, i) => { + return ( +
+
+

+ {section.title} +

+ {section.description && ( +

+ {section.description} +

+ )} +
+
+
+
+
- ); - })} -
- - +
+ ); + })} +
+ ); } -- cgit v1.2.3