fix: example immutable missing on:click

pull/10079/head
Fritz Lin 3 years ago
parent 570884eabd
commit 573bedd217

@ -13,7 +13,7 @@
<!-- the text will flash red whenever
the `todo` object changes -->
<button bind:this={btn}>
<button bind:this={btn} on:click>
{todo.done ? '👍' : ''}
{todo.text}
</button>

Loading…
Cancel
Save