fix
This commit is contained in:
parent
dc4e2ea996
commit
bc5f6106bc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue