From c2ecfd8d35e4cb133824cd5e19b60bc978c7060b Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:19:25 +0900 Subject: [PATCH] fix --- packages/frontend/src/components/MkTutorial.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }