Remove unnecessary code
This commit is contained in:
parent
702d1ad406
commit
7d51565bbe
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue