diff --git a/packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AllWalletsUI.tsx b/packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AllWalletsUI.tsx index c8a32924ea5..cf4fe2c8658 100644 --- a/packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AllWalletsUI.tsx +++ b/packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AllWalletsUI.tsx @@ -28,7 +28,6 @@ import { WalletEntryButton } from "../WalletEntryButton.js"; function AllWalletsUI(props: { onBack: () => void; onSelect: (wallet: Wallet) => void; - specifiedWallets: Wallet[]; size: "compact" | "wide"; client: ThirdwebClient; recommendedWallets: Wallet[] | undefined; @@ -39,17 +38,11 @@ function AllWalletsUI(props: { const setSelectionData = useSetSelectionData(); const walletList = useMemo(() => { - return walletInfos - .filter((wallet) => { - return ( - props.specifiedWallets.findIndex((x) => x.id === wallet.id) === -1 - ); - }) - .filter( - (info) => - info.id !== "inApp" && info.id !== "embedded" && info.id !== "smart", - ); - }, [props.specifiedWallets]); + return walletInfos.filter( + (info) => + info.id !== "inApp" && info.id !== "embedded" && info.id !== "smart", + ); + }, []); const fuseInstance = useMemo(() => { return new Fuse(walletList, { diff --git a/packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalContent.tsx b/packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalContent.tsx index 7f41018a344..2ea71c6ab7d 100644 --- a/packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalContent.tsx +++ b/packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalContent.tsx @@ -173,7 +173,6 @@ export const ConnectModalContent = (props: { onSelect={setScreen} recommendedWallets={props.recommendedWallets} size={props.size} - specifiedWallets={props.wallets} /> ); diff --git a/packages/thirdweb/src/react/web/wallets/in-app/WalletAuth.tsx b/packages/thirdweb/src/react/web/wallets/in-app/WalletAuth.tsx index 408136edbd8..14988b28b97 100644 --- a/packages/thirdweb/src/react/web/wallets/in-app/WalletAuth.tsx +++ b/packages/thirdweb/src/react/web/wallets/in-app/WalletAuth.tsx @@ -104,7 +104,6 @@ export function WalletAuth(props: { }} recommendedWallets={undefined} size={props.size} - specifiedWallets={[]} /> );