diff --git a/src/connectors/argentMobile/modal/argentModal.ts b/src/connectors/argentMobile/modal/argentModal.ts index 9daeeb7..4ccc07a 100644 --- a/src/connectors/argentMobile/modal/argentModal.ts +++ b/src/connectors/argentMobile/modal/argentModal.ts @@ -72,8 +72,10 @@ class ArgentModal { const wcParam = encodeURIComponent(wcUri) const href = encodeURIComponent(window.location.href) + const desktopWcParam = `${this.mobileUrl}app/wc?uri=${wcParam}` + this.showModal({ - desktop: `${this.bridgeUrl}?wc=${wcParam}&device=desktop`, + desktop: `${this.bridgeUrl}?wc=${desktopWcParam}&device=desktop`, ios: `${this.mobileUrl}app/wc?uri=${wcParam}&href=${href}&device=mobile`, android: `${this.mobileUrl}app/wc?uri=${wcParam}&href=${href}&device=mobile`, }) diff --git a/src/connectors/webwallet/helpers/openWebwallet.ts b/src/connectors/webwallet/helpers/openWebwallet.ts index 44fdfe8..885b88d 100644 --- a/src/connectors/webwallet/helpers/openWebwallet.ts +++ b/src/connectors/webwallet/helpers/openWebwallet.ts @@ -4,7 +4,6 @@ import { trpcProxyClient } from "./trpc" import type { StarknetWindowObject } from "get-starknet-core" import { mapTargetUrlToNetworkId } from "../../../helpers/mapTargetUrlToNetworkId" import { fetchAllowedDapps } from "./fetchAllowedDapps" -import { ProviderInterface } from "starknet" const checkIncognitoChrome = async (isChrome: boolean) => { return new Promise((resolve) => {