Skip to content

Commit 4cf2bca

Browse files
ubugeeeinazarepiedady
authored andcommitted
fix(tutorial): race condition on step-10 (vuejs#2567)
1 parent 363d538 commit 4cf2bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<p>Todo id: {{ todoId }}</p>
2-
<button @click="todoId++">Fetch next todo</button>
2+
<button @click="todoId++" :disabled="!todoData">Fetch next todo</button>
33
<p v-if="!todoData">Loading...</p>
44
<pre v-else>{{ todoData }}</pre>

0 commit comments

Comments
 (0)