Skip to content

Commit 121a37e

Browse files
committed
fix(tutorial): race condition on step-10
1 parent def9358 commit 121a37e

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)