From 915b6fe3222fec1d0d1b835e0517596fde61a7ae Mon Sep 17 00:00:00 2001 From: dyablohunter Date: Tue, 19 Nov 2024 07:40:02 -0800 Subject: [PATCH] Update ConnectWallet.tsx this will fix type errors preventing the build process to complete. --- templates/next-app/src/components/ConnectWallet.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/next-app/src/components/ConnectWallet.tsx b/templates/next-app/src/components/ConnectWallet.tsx index 0601d95..68a3ee8 100644 --- a/templates/next-app/src/components/ConnectWallet.tsx +++ b/templates/next-app/src/components/ConnectWallet.tsx @@ -137,7 +137,7 @@ export default function ConnectWallet({ className }: { className?: string }) { onClick={ isMissingWallet ? () => null - : () => handleConnect(wallet.name) + : () => handleConnect(wallet.name as typeof UNISAT | typeof MAGIC_EDEN | typeof OYL | typeof ORANGE | typeof PHANTOM | typeof LEATHER | typeof XVERSE | typeof WIZZ | typeof OKX) } variant="ghost" className={cn(