Skip to content

Commit b2461e3

Browse files
fix: fixed step calculation
1 parent 26e878f commit b2461e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tutorial/TutorialRepl.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const currentDescription = computed(() => {
2424
2525
const nextStep = computed(() => {
2626
const nextMatch = currentStep.value.match(/\d+/)
27-
const next = nextMatch && `step-${+nextMatch[0]} + 1}`
27+
const next = nextMatch && `step-${+nextMatch[0] + 1}`
2828
if (next && data.hasOwnProperty(next)) {
2929
return next
3030
}

0 commit comments

Comments
 (0)