Fix formatting

This commit is contained in:
olaservo 2025-06-01 21:05:33 -07:00
commit 0a1de24fdf

View file

@ -295,7 +295,9 @@ const DynamicJsonForm = ({
return (
<div className="space-y-4">
{propSchema.description && (
<p className="text-sm text-gray-600">{propSchema.description}</p>
<p className="text-sm text-gray-600">
{propSchema.description}
</p>
)}
{propSchema.items?.description && (
@ -333,10 +335,7 @@ const DynamicJsonForm = ({
const defaultValue = getArrayItemDefault(
propSchema.items as JsonSchemaType,
);
handleFieldChange(path, [
...arrayValue,
defaultValue,
]);
handleFieldChange(path, [...arrayValue, defaultValue]);
}}
title={
propSchema.items?.description