Skip to content

Commit 1bbc950

Browse files
authored
Use counter variable, not undefined state (#1514)
1 parent 7295d03 commit 1bbc950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tutorial/src/step-2/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Properties in the returned object will be made available in the template. This i
6363

6464
```vue-html
6565
<h1>{{ message }}</h1>
66-
<p>count is: {{ state.count }}</p>
66+
<p>count is: {{ counter.count }}</p>
6767
```
6868

6969
Notice how we did not need to use `.value` when accessing the `message` ref in templates: it is automatically unwrapped for more succinct usage.

0 commit comments

Comments
 (0)