mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
Allow walletconnect when no provider is available
This commit is contained in:
+1
-2
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user