From 059bd8000e5fd65753d5ca9e0c47940394e0c79b Mon Sep 17 00:00:00 2001 From: AlexVarchuk Date: Mon, 14 Mar 2022 17:39:55 +0200 Subject: [PATCH] fix: sanitize array of items (#1920) --- src/components/Fields/ArrayItemDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Fields/ArrayItemDetails.tsx b/src/components/Fields/ArrayItemDetails.tsx index 0c2716b13d..db8837d26c 100644 --- a/src/components/Fields/ArrayItemDetails.tsx +++ b/src/components/Fields/ArrayItemDetails.tsx @@ -11,7 +11,7 @@ export function ArrayItemDetails({ schema }: { schema: SchemaModel }) { return ( [ items - {schema.displayFormat && {` <${schema.displayFormat}> `}} + {schema.displayFormat && <{schema.displayFormat} >} {schema.items && } ]