Skip to content

Commit

Permalink
docs: add missing on:click to immutable example (#10079)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritx committed Jan 4, 2024
1 parent 3c6977a commit e9b0908
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

1 comment on commit e9b0908

@vercel
Copy link

@vercel vercel bot commented on e9b0908 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svelte-5-preview – ./sites/svelte-5-preview

svelte-5-preview-svelte.vercel.app
svelte-5-preview.vercel.app
svelte-octane.vercel.app
svelte-5-preview-git-main-svelte.vercel.app

Please sign in to comment.