Skip to content

Commit 43c7e27

Browse files
fix: fixed vuejs#220 on injection reactivity section
1 parent a0250c2 commit 43c7e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/composition-api-provide-inject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ setup() {
7474
const year = ref('2020')
7575

7676
provide('book', book)
77-
provide('year', book)
77+
provide('year', year)
7878
}
7979

8080
// in consumer

0 commit comments

Comments
 (0)