diff --git a/scaffolds/nextjs-dedicated-wallet/scaffold.ts b/scaffolds/nextjs-dedicated-wallet/scaffold.ts index 1dc4d9f..61f11f2 100644 --- a/scaffolds/nextjs-dedicated-wallet/scaffold.ts +++ b/scaffolds/nextjs-dedicated-wallet/scaffold.ts @@ -57,7 +57,7 @@ export default class DedicatedScaffold extends BaseScaffold { this.data = data; if (typeof this.source !== 'string') { - data?.loginMethods.forEach((authType) => { + data.loginMethods.forEach((authType) => { (this.source as string[]).push(`./src/components/magic/auth/${authType.replaceAll(' ', '')}.tsx`); if ( authType === 'Discord' ||