diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ConditionalUIDrawer.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ConditionalUIDrawer.svelte index 67315c620c..8b9cad1b7c 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ConditionalUIDrawer.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ConditionalUIDrawer.svelte @@ -102,8 +102,8 @@ } const duplicateCondition = id => { - const condition = conditions.find(link => link.id === id); - const duplicate = {...condition, id: generate()} + const condition = conditions.find(link => link.id === id) + const duplicate = { ...condition, id: generate() } conditions = [...conditions, duplicate] }