1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

Remove unnecessary code

This commit is contained in:
Andrew Kingston 2022-10-24 13:33:33 +01:00
parent 702d1ad406
commit 7d51565bbe

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}