Remove unnecessary code

This commit is contained in:
Andrew Kingston 2022-10-24 13:33:33 +01:00
parent 702d1ad406
commit 7d51565bbe
1 changed files with 1 additions and 6 deletions

View File

@ -35,7 +35,6 @@
export let isScreen = false
export let isBlock = false
export let parent = null
export let parentType = null
// Get parent contexts
const context = getContext("context")
@ -496,11 +495,7 @@
<ComponentPlaceholder />
{:else if children.length}
{#each children as child (child._id)}
<svelte:self
instance={child}
parent={id}
parentType={instance._component}
/>
<svelte:self instance={child} parent={id} />
{/each}
{:else if emptyState}
{#if isScreen}