diff --git a/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizard.container.tsx b/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizard.container.tsx index e745f6d..4c5f8bd 100644 --- a/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizard.container.tsx +++ b/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizard.container.tsx @@ -388,6 +388,7 @@ const CustomMethodCardWizardContainer = memo( const handleSelectFieldType = useCallback((ft: AddCustomFieldType) => { setEditingBlockId(null); + setAddFieldExpanded(false); resetFieldTypeDrafts(); setFieldTypeModal(ft); fieldModalSnapshotRef.current = JSON.stringify({ @@ -531,6 +532,7 @@ const CustomMethodCardWizardContainer = memo( }); setFieldTypeModal(null); setEditingBlockId(null); + setAddFieldExpanded(false); fieldModalSnapshotRef.current = null; }, [ badgeBlockTitle, diff --git a/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizard.view.tsx b/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizard.view.tsx index 29cbb79..7d80080 100644 --- a/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizard.view.tsx +++ b/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizard.view.tsx @@ -90,7 +90,7 @@ function CustomMethodCardWizardViewComponent({ /> ) : null} {!fieldTypeModal && wizardStep === 3 ? ( -
+
{draftFieldBlocks.length > 0 ? ( {blocks.map((block, index) => { diff --git a/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizardFieldBodies.view.tsx b/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizardFieldBodies.view.tsx index aba6e85..1c471f5 100644 --- a/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizardFieldBodies.view.tsx +++ b/app/(app)/create/components/CustomMethodCardWizard/CustomMethodCardWizardFieldBodies.view.tsx @@ -53,11 +53,9 @@ function CustomMethodCardWizardFieldBodiesViewComponent({ maxLength={CUSTOM_METHOD_CARD_WIZARD_MAX_FIELD_CHARS} />
- +