diff --git a/src/compile/render-dom/wrappers/Element/StyleAttribute.ts b/src/compile/render-dom/wrappers/Element/StyleAttribute.ts index 43524ff372..8d59585cad 100644 --- a/src/compile/render-dom/wrappers/Element/StyleAttribute.ts +++ b/src/compile/render-dom/wrappers/Element/StyleAttribute.ts @@ -93,7 +93,6 @@ function optimize_style(value: Node[]) { } const result = get_style_value(chunks); - if (!result) return null; props.push({ key, value: result.value }); chunks = result.chunks;