From 9dd15306b9d8dff6b88279335ac8f885447fdee3 Mon Sep 17 00:00:00 2001 From: Mahmoud Aboelenein Date: Mon, 7 Oct 2024 09:30:26 +0300 Subject: [PATCH] disable automatic detection --- src/provider/index.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/provider/index.ts b/src/provider/index.ts index a84fc4d..b95311a 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -40,12 +40,7 @@ export function removeDefaultProvider() { } export function getSupportedWallets(): SupportedWallet[] { - const ambientProviders = getProviders(); - const { xverse, ...defaultProviders } = DefaultAdaptersInfo; - - const allProviders = [...ambientProviders, ...Object.values(defaultProviders)]; - - const wallets: SupportedWallet[] = allProviders.map((provider) => { + const wallets: SupportedWallet[] = Object.values(DefaultAdaptersInfo).map((provider) => { { return { ...provider,