diff --git a/apps/builder/app/builder/features/settings-panel/use-settings-logic.ts b/apps/builder/app/builder/features/settings-panel/use-settings-logic.ts index a8801bc30b22..5556f82bc669 100644 --- a/apps/builder/app/builder/features/settings-panel/use-settings-logic.ts +++ b/apps/builder/app/builder/features/settings-panel/use-settings-logic.ts @@ -13,6 +13,7 @@ export const useSettingsLogic = ({ const changes = useRef({}); const setLabel = (value: SettingUpdate[keyof SettingUpdate]) => { + // Empty string should be replaced with `undefined` so that we can render default label changes.current.label = value || undefined; };