diff --git a/packages/frontend/src/components/MkTutorial.vue b/packages/frontend/src/components/MkTutorial.vue index 427bbdde3b..317f3f3353 100644 --- a/packages/frontend/src/components/MkTutorial.vue +++ b/packages/frontend/src/components/MkTutorial.vue @@ -208,7 +208,7 @@ const page = ref(props.initialPage ?? 0); const currentPageDef = computed(() => { if (page.value > 0 && page.value < MAX_PAGE - 1) { - return tutorialBodyPagesDef[page.value - 1]; + return tutorialBodyPagesDef[page.value - 1] ?? null; } else { return null; }