Skip to content

Commit d22a0c2

Browse files
Update reactivity-fundamentals.md (#2447)
Fix the initialization value to match the example output
1 parent b017bc4 commit d22a0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/reactivity-fundamentals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ In the example below, `count` and `object` are top-level properties, but `object
516516

517517
```js
518518
const count = ref(0)
519-
const object = { id: ref(0) }
519+
const object = { id: ref(1) }
520520
```
521521

522522
Therefore, this expression works as expected:

0 commit comments

Comments
 (0)