Skip to content

Commit 1786df3

Browse files
committed
sync
1 parent 41fc5b5 commit 1786df3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/svelte.dev/content/docs/svelte/01-introduction/03-reactivity-fundamentals.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ As with `$state`, you can mark class fields as `$derived`.
7979
>
8080
> ```svelte
8181
> <script>
82-
> let count = 0;
83-
> $: doubled = count * 2;
82+
> let count = 0;
83+
> $: doubled = count * 2;
8484
> </script>
8585
>
8686
> <button on:click={() => count++}>
87-
> {doubled}
87+
> {doubled}
8888
> </button>
8989
>
9090
> <p>{count} doubled is {doubled}</p>

0 commit comments

Comments
 (0)