This commit is contained in:
kakkokari-gtyih 2024-08-13 13:20:39 +09:00
parent c2ecfd8d35
commit dc4e2ea996
1 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ type ComponentDef = {
* *
* メタデータは上の方で定義しています * メタデータは上の方で定義しています
*/ */
const componentsDef: Tuple<ComponentDef, typeof tutorialBodyPagesDef.length> = [ const componentsDef = [
{ component: XProfileSettings }, { component: XProfileSettings },
{ component: XNote, props: { phase: 'aboutNote' } }, { component: XNote, props: { phase: 'aboutNote' } },
{ component: XNote, props: { phase: 'howToReact' } }, { component: XNote, props: { phase: 'howToReact' } },
@ -201,7 +201,7 @@ const componentsDef: Tuple<ComponentDef, typeof tutorialBodyPagesDef.length> = [
{ component: XPostNote }, { component: XPostNote },
{ component: XSensitive }, { component: XSensitive },
{ component: XPrivacySettings }, { component: XPrivacySettings },
] as const satisfies ComponentDef[]; ] as const satisfies Tuple<ComponentDef, typeof tutorialBodyPagesDef.length>;
// eslint-disable-next-line vue/no-setup-props-destructure // eslint-disable-next-line vue/no-setup-props-destructure
const page = ref(props.initialPage ?? 0); const page = ref(props.initialPage ?? 0);