Allow walletconnect when no provider is available

This commit is contained in:
Alexis Sellier
2021-08-03 18:45:42 +02:00
parent cd2fd881bb
commit 7d3720ba87
+1 -2
View File
@@ -11,7 +11,6 @@
export let style = "";
export let config: Config;
let walletUnavailable = !window.ethereum;
let error: Err | null = null;
const onModalClose = () => {
@@ -39,7 +38,7 @@
on:click|stopPropagation={onConnect}
{style}
class="connect {className}"
disabled={connecting || walletUnavailable}
disabled={connecting}
data-waiting={connecting || null}
>
{#if connecting}