🎥 Make videos programmatically with React
Update ZodDefaultEditor.tsx
Jonny Burger0f14b6581807
diff --git a/packages/cli/src/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.tsx b/packages/cli/src/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.tsxindex e2f2739e40..94292ff03a 100644--- a/packages/cli/src/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.tsx+++ b/packages/cli/src/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.tsx@@ -15,6 +15,7 @@ export const ZodDefaultEditor: React.FC<{onSave: UpdaterFunction<unknown>;onRemove: null | (() => void);saving: boolean;+ saveDisabledByParent: boolean;}> = ({jsonPath,compact,@@ -26,6 +27,7 @@ export const ZodDefaultEditor: React.FC<{showSaveButton,onRemove,saving,+ saveDisabledByParent,}) => {const {innerType} = schema._def as z.ZodDefaultDef;@@ -41,6 +43,7 @@ export const ZodDefaultEditor: React.FC<{showSaveButton={showSaveButton}value={value}saving={saving}+ saveDisabledByParent={saveDisabledByParent}/>);};