diff --git a/src/components/pretty-schema-display.tsx b/src/components/pretty-schema-display.tsx index f993d73..98b4cb8 100644 --- a/src/components/pretty-schema-display.tsx +++ b/src/components/pretty-schema-display.tsx @@ -104,7 +104,7 @@ const SchemaObjectRenderer = ({ isNested?: boolean; }) => { const content = ( -
+
{Object.entries(data).map(([key, value]) => { if (key === "@context") return null; const label = @@ -112,22 +112,19 @@ const SchemaObjectRenderer = ({ const Icon = keyIcons[key]; return ( -
+
{Icon && } {label}
-
+
{key === "@type" ? ( {value as string} ) : ( renderValue(value) )}
-
+
); })}