diff --git a/src/SiweConnect.svelte b/src/SiweConnect.svelte index 300f488e4..ec88be002 100644 --- a/src/SiweConnect.svelte +++ b/src/SiweConnect.svelte @@ -23,7 +23,11 @@ disabled={connection === Connection.Connecting} on:click={async () => { connection = Connection.Connecting; - await signInWithEthereum(seed, config); + try { + await signInWithEthereum(seed, config); + } catch { + connection = Connection.Disconnected; + } }} > {#if connection === Connection.Connecting}