From b0e34c2e0c841f497e2e162a6764912ac4013d87 Mon Sep 17 00:00:00 2001 From: Ian Krieger Date: Thu, 24 Aug 2023 11:56:42 -0400 Subject: [PATCH] fix: return component --- src/components/Creatives/CreativeSpecificPreview.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/Creatives/CreativeSpecificPreview.tsx b/src/components/Creatives/CreativeSpecificPreview.tsx index d59e13c7d..340c3f661 100644 --- a/src/components/Creatives/CreativeSpecificPreview.tsx +++ b/src/components/Creatives/CreativeSpecificPreview.tsx @@ -20,10 +20,6 @@ export function CreativeSpecificPreview({ const [, format] = useField("format"); const [, meta] = useField(name); - if (meta.value.length === 0) { - return null; - } - let component; if (format.value === CampaignFormat.PushNotification) { component = meta.value.map((c, idx) => (