From 6b8275267e500a514cb6fdbf366d4b46f23a7675 Mon Sep 17 00:00:00 2001 From: James Pacheco Date: Mon, 22 Jan 2024 14:59:02 -0700 Subject: [PATCH] fix: typo --- scaffolds/nextjs-dedicated-wallet/scaffold.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ||