Update packages/svelte/tests/runtime-runes/samples/state-onchange-reassign-proxy/main.svelte

pull/15579/head
Rich Harris 6 months ago committed by GitHub
parent 3cb7b7926b
commit 35e4023c35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,7 +24,4 @@
<button onclick={()=> b.count++}>{b.count}</button>
<button onclick={()=> c.count++}>{c.count}</button>
<!-- click this button, then click the b and c buttons. in theory
you should see either 'b changed' or 'c changed', but
instead clicking b causes both -->
<button onclick={() => c = { count: c.count }}>unlink</button>
Loading…
Cancel
Save