diff --git a/src/hooks/wallets/consts.ts b/src/hooks/wallets/consts.ts index 9b0bb6b8b2..ced77229ca 100644 --- a/src/hooks/wallets/consts.ts +++ b/src/hooks/wallets/consts.ts @@ -1,6 +1,6 @@ export const enum WALLET_KEYS { INJECTED = 'INJECTED', - WALLETCONNECT_V2 = 'WALLETCONNECT_V2', + // WALLETCONNECT_V2 = 'WALLETCONNECT_V2', COINBASE = 'COINBASE', LEDGER = 'LEDGER', TREZOR = 'TREZOR', @@ -9,7 +9,7 @@ export const enum WALLET_KEYS { export const CGW_NAMES: { [key in WALLET_KEYS]: string | undefined } = { [WALLET_KEYS.INJECTED]: 'detectedwallet', - [WALLET_KEYS.WALLETCONNECT_V2]: 'walletConnect_v2', + //[WALLET_KEYS.WALLETCONNECT_V2]: 'walletConnect_v2', [WALLET_KEYS.COINBASE]: 'coinbase', [WALLET_KEYS.LEDGER]: 'ledger', [WALLET_KEYS.TREZOR]: 'trezor', diff --git a/src/hooks/wallets/useOnboard.ts b/src/hooks/wallets/useOnboard.ts index 2781d67d86..86847ecdfe 100644 --- a/src/hooks/wallets/useOnboard.ts +++ b/src/hooks/wallets/useOnboard.ts @@ -141,7 +141,7 @@ export const useInitOnboard = () => { const onboard = useStore() const customRpc = useAppSelector(selectRpc) - useInitPairing() + //useInitPairing() useEffect(() => { if (configs.length > 0 && chain) { diff --git a/src/hooks/wallets/wallets.ts b/src/hooks/wallets/wallets.ts index 57fb7d9d6f..82d13bc4b6 100644 --- a/src/hooks/wallets/wallets.ts +++ b/src/hooks/wallets/wallets.ts @@ -38,7 +38,7 @@ const walletConnectV2 = (chain: ChainInfo): WalletInit => { const WALLET_MODULES: { [key in WALLET_KEYS]: (chain: ChainInfo) => WalletInit } = { [WALLET_KEYS.INJECTED]: () => injectedWalletModule(), - [WALLET_KEYS.WALLETCONNECT_V2]: (chain) => walletConnectV2(chain), + //[WALLET_KEYS.WALLETCONNECT_V2]: (chain) => walletConnectV2(chain), [WALLET_KEYS.COINBASE]: () => coinbaseModule({ darkMode: prefersDarkMode() }), [WALLET_KEYS.LEDGER]: () => ledgerModule(), [WALLET_KEYS.TREZOR]: () => trezorModule({ appUrl: TREZOR_APP_URL, email: TREZOR_EMAIL }),