From 2438cfa5d8bf4cd52ae8b0204878b78b80dc9e68 Mon Sep 17 00:00:00 2001 From: zangab Date: Fri, 11 Feb 2022 11:44:19 +0100 Subject: [PATCH] Use counter variable, not undefined state --- src/tutorial/src/step-2/description.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tutorial/src/step-2/description.md b/src/tutorial/src/step-2/description.md index 0962a95548..82b78fa2f3 100644 --- a/src/tutorial/src/step-2/description.md +++ b/src/tutorial/src/step-2/description.md @@ -63,7 +63,7 @@ Properties in the returned object will be made available in the template. This i ```vue-html

{{ message }}

-

count is: {{ state.count }}

+

count is: {{ counter.count }}

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