From 106262657b1c3561eb0d8e7aa151ff3a3d4d4ffe Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Wed, 8 Jul 2020 14:33:48 +0100 Subject: [PATCH] bugfix - heading not updating with state change --- packages/standard-components/src/Heading.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/standard-components/src/Heading.svelte b/packages/standard-components/src/Heading.svelte index 4760ae05db..963377070b 100644 --- a/packages/standard-components/src/Heading.svelte +++ b/packages/standard-components/src/Heading.svelte @@ -8,7 +8,7 @@ let containerElement - $: containerElement && !text && _bb.attachChildren(containerElement) + $: containerElement && !text && _bb.props.children && _bb.props.children.length && _bb.attachChildren(containerElement) {#if type === 'h1'}