svelte-check doesn't want a CSS string

This commit is contained in:
Damien Elmes 2020-07-28 11:16:10 +10:00
parent 0e4dae8ee1
commit bbff62bf32

View file

@ -36,7 +36,7 @@
<svg
bind:this={svg}
viewBox={`0 0 ${bounds.width} ${bounds.height}`}
style="opacity: {graphData.totalCards ? 1 : 0}">
style={{ opacity: graphData.totalCards ? 1 : 0 }}>
<g class="days" />
</svg>