Skip to content

Commit 85f7cf0

Browse files
g-planetrueadm
authored andcommitted
docs: fix migration guide typo (#14155)
1 parent bbb3541 commit 85f7cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/07-misc/07-v5-migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ In Svelte 4, a `$:` statement at the top level of a component could be used to d
3636
</script>
3737
```
3838

39-
As with `$state`, nothing else changes. `double` is still the number itself, and you read it directly, without a wrapper like `.value` or `getCount()`.
39+
As with `$state`, nothing else changes. `double` is still the number itself, and you read it directly, without a wrapper like `.value` or `getDouble()`.
4040

4141
A `$:` statement could also be used to create side effects. In Svelte 5, this is achieved using the `$effect` rune:
4242

0 commit comments

Comments
 (0)