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