From 56814c1ebebec9b456b0060f9cd1f179244ab434 Mon Sep 17 00:00:00 2001 From: Steve Hetzel Date: Mon, 15 Jul 2024 16:46:20 -0600 Subject: [PATCH] fix: better conditional --- src/convert/convertContext/recompositionFinalizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/convert/convertContext/recompositionFinalizer.ts b/src/convert/convertContext/recompositionFinalizer.ts index b8538fb06..e2afb9efb 100644 --- a/src/convert/convertContext/recompositionFinalizer.ts +++ b/src/convert/convertContext/recompositionFinalizer.ts @@ -84,7 +84,7 @@ const recompose = // all the children. This checks for multiple parent components and gets the xml // file content from each. if ( - childComponents && + childComponents.length && stateValue.component.type.strategies?.recomposition === 'startEmpty' && stateValue.component.type.strategies?.transformer === 'nonDecomposed' ) {