diff --git a/packages/bridge-ui/src/libs/connect/web3modal.ts b/packages/bridge-ui/src/libs/connect/web3modal.ts index 431bd88c854..bfcb1cc5f91 100644 --- a/packages/bridge-ui/src/libs/connect/web3modal.ts +++ b/packages/bridge-ui/src/libs/connect/web3modal.ts @@ -10,6 +10,8 @@ const chainImages = getChainImages(); export const web3modal = createWeb3Modal({ wagmiConfig: config, projectId, + featuredWalletIds: [], + excludeWalletIds: ['c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96'], // chains, chainImages, themeVariables: { diff --git a/packages/bridge-ui/src/libs/wagmi/client.ts b/packages/bridge-ui/src/libs/wagmi/client.ts index 8f00a8071c0..449f758d6c9 100644 --- a/packages/bridge-ui/src/libs/wagmi/client.ts +++ b/packages/bridge-ui/src/libs/wagmi/client.ts @@ -1,4 +1,4 @@ -import { walletConnect } from '@wagmi/connectors'; +import { injected, walletConnect } from '@wagmi/connectors'; import { createConfig, getPublicClient, http, reconnect } from '@wagmi/core'; import { PUBLIC_WALLETCONNECT_PROJECT_ID } from '$env/static/public'; @@ -15,7 +15,7 @@ const transports = chains.reduce((acc, { id }) => ({ ...acc, [id]: http() }), {} export const config = createConfig({ //@ts-ignore chains: [...chains], - connectors: [walletConnect({ projectId })], + connectors: [walletConnect({ projectId, showQrModal: false }), injected()], transports, });