diff --git a/src/App.svelte b/src/App.svelte index 19758aeea..fc4dc71e3 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -23,6 +23,8 @@ // from a previous session. if (cfg.walletConnect.client.connected) { await state.connectWalletConnect(cfg); + } else if (cfg.metamask.connected) { + await state.connectMetamask(cfg); } } return cfg; diff --git a/src/components/Modal/ConnectWallet.svelte b/src/components/Modal/ConnectWallet.svelte index 262075360..eab7fd2c7 100644 --- a/src/components/Modal/ConnectWallet.svelte +++ b/src/components/Modal/ConnectWallet.svelte @@ -68,7 +68,7 @@
-