diff --git a/apps/studio/src/features/editing-experience/components/form-builder/renderers/controls/BaseLinkControl.tsx b/apps/studio/src/features/editing-experience/components/form-builder/renderers/controls/BaseLinkControl.tsx index 0b7ee7f20..745069217 100644 --- a/apps/studio/src/features/editing-experience/components/form-builder/renderers/controls/BaseLinkControl.tsx +++ b/apps/studio/src/features/editing-experience/components/form-builder/renderers/controls/BaseLinkControl.tsx @@ -95,7 +95,7 @@ export function BaseLinkControl({ colorScheme="critical" aria-label="Remove file" icon={} - onClick={() => handleChange(path, "")} + onClick={() => handleChange(path, undefined)} /> ) : (