Skip to content

Commit c7f5a9e

Browse files
author
John Niang
authored
Fix wrong comment in basic-reactivity.md (#836)
Change `obj.value` to `obj.count`.
1 parent 438189a commit c7f5a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/basic-reactivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const obj = reactive({ count })
2828
// ref will be unwrapped
2929
console.log(obj.count === count.value) // true
3030
31-
// it will update `obj.value`
31+
// it will update `obj.count`
3232
count.value++
3333
console.log(count.value) // 2
3434
console.log(obj.count) // 2

0 commit comments

Comments
 (0)