Move signer into session store

The Metamask and WalletConnect signer are updated one any account
change, but currently we store them only in the static config object.
This commit moves this to the session store to improve this behaviour

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
Sebastian Martinez
2022-05-20 13:10:53 +02:00
committed by Alexis Sellier
parent ab3c8f5657
commit be0ff349df
9 changed files with 149 additions and 36 deletions
+1 -1
View File
@@ -109,7 +109,7 @@
</span>
<!-- User Session -->
<div class="siwe">
{#if session?.signer}
{#if session?.config.signer}
{#if siweSession}
<div class="session-info">
<span class="signed-in text-small">Signed in as</span>