diff --git a/packages/client/src/components/Component.svelte b/packages/client/src/components/Component.svelte index 3d863c276e..faf0226604 100644 --- a/packages/client/src/components/Component.svelte +++ b/packages/client/src/components/Component.svelte @@ -65,6 +65,7 @@ $: inSelectedPath = $builderStore.selectedComponentPath?.includes(id) $: evaluateConditions(enrichedSettings?._conditions) $: componentSettings = { ...enrichedSettings, ...conditionalSettings } + $: renderKey = `${propsHash}-${emptyState}` // Update component context $: componentStore.set({ @@ -176,32 +177,30 @@ $: droppable = interactive && !isLayout && !isScreen -{#key propsHash} - {#key empty} - {#if constructor && componentSettings && (visible || inSelectedPath)} - - -