diff --git a/src/modal/Modal.svelte b/src/modal/Modal.svelte index c80d88e..c0d562d 100644 --- a/src/modal/Modal.svelte +++ b/src/modal/Modal.svelte @@ -14,9 +14,6 @@ export let theme: "light" | "dark" | null = null let loadingItem: string | false = false - let emailOnly = - modalWallets.length === 1 && - modalWallets[0].id.toLowerCase().includes("webwallet") let starknetMobile = window?.starknet_argentX as StarknetWindowObject & { isInAppBrowser: boolean @@ -59,7 +56,7 @@ return } - if (emailOnly) { + if (modalWallets.length === 1) { try { const [wallet] = modalWallets await wallet.connector?.connect() @@ -71,7 +68,7 @@ }) -{#if !isInAppBrowser && !emailOnly} +{#if !isInAppBrowser && modalWallets.length > 1}