diff --git a/src/Connect.svelte b/src/Connect.svelte index 9f1960565..2a98a1a00 100644 --- a/src/Connect.svelte +++ b/src/Connect.svelte @@ -8,9 +8,7 @@ let walletUnavailable = !window.ethereum; - const connecting = derived(session, ($s) => { - return $s.connection === Connection.Connecting; - }); + $: connecting = $session.connection === Connection.Connecting;