mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
Fix svelte error
* Fix error: Type '{ opacity: number; }' is not assignable to type 'string'. (ts)
This commit is contained in:
parent
a239b9330d
commit
d789cea384
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue