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

View File

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