Skip to content

Commit

Permalink
fix: children for html component
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssota committed May 13, 2022
1 parent 8fe4d23 commit 8f2fedb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/renderer/html/Default.svelte
Expand Up @@ -6,7 +6,7 @@
export let properties: Record<string, unknown>;
</script>

{#if children != null}
{#if Array.isArray(children) && children.length !== 0}
<!-- prettier-ignore -->
<svelte:element this={tagName} {...properties}><Children {children} /></svelte:element>
{:else}
Expand Down

0 comments on commit 8f2fedb

Please sign in to comment.