Skip to content

Commit

Permalink
fix: return component
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger committed Aug 24, 2023
1 parent 9cb29be commit b0e34c2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/Creatives/CreativeSpecificPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ export function CreativeSpecificPreview({
const [, format] = useField<CampaignFormat>("format");
const [, meta] = useField<Creative[]>(name);

if (meta.value.length === 0) {
return null;
}

let component;
if (format.value === CampaignFormat.PushNotification) {
component = meta.value.map((c, idx) => (
Expand Down

0 comments on commit b0e34c2

Please sign in to comment.