From 09c4a593c378afd3b240bbceb582d83c5fed6ac5 Mon Sep 17 00:00:00 2001 From: Lochie Axon Date: Wed, 19 Jun 2024 13:55:52 +1000 Subject: [PATCH] avoid multiple metamask connectors --- packages/connectkit/src/wallets/useWallets.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/connectkit/src/wallets/useWallets.tsx b/packages/connectkit/src/wallets/useWallets.tsx index f771800f..734f7439 100644 --- a/packages/connectkit/src/wallets/useWallets.tsx +++ b/packages/connectkit/src/wallets/useWallets.tsx @@ -100,7 +100,7 @@ export const useWallets = (): WalletProps[] => { .filter( (wallet, index, self) => !( - wallet.id === 'metaMaskSDK' && + (wallet.id === 'metaMaskSDK' || wallet.id === 'metaMask') && self.find( (w) => w.id === 'io.metamask' || w.id === 'io.metamask.mobile' )