From e7ef16f2d5d15449410efabcbb5599773676a152 Mon Sep 17 00:00:00 2001 From: francesco Date: Fri, 13 Dec 2024 15:15:26 +0100 Subject: [PATCH] Passing undefined values to custom property views --- packages/firecms_core/src/preview/PropertyPreview.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/firecms_core/src/preview/PropertyPreview.tsx b/packages/firecms_core/src/preview/PropertyPreview.tsx index e9411d6c2..8600f0f87 100644 --- a/packages/firecms_core/src/preview/PropertyPreview.tsx +++ b/packages/firecms_core/src/preview/PropertyPreview.tsx @@ -56,7 +56,7 @@ export const PropertyPreview = React.memo(function PropertyPreview; } else if (property.Preview) { content = createElement(property.Preview as React.ComponentType, @@ -70,7 +70,7 @@ export const PropertyPreview = React.memo(function PropertyPreview; } else if (property.dataType === "string") { const stringProperty = property as ResolvedStringProperty;