Clear react caches after forgetting wallets
This commit is contained in:
parent
06dec01f50
commit
e9cd3e2c62
|
@ -140,4 +140,5 @@ export function forgetWallet() {
|
||||||
sessionStorage.removeItem('unlocked');
|
sessionStorage.removeItem('unlocked');
|
||||||
unlockedMnemonicAndSeed = { mnemonic: null, seed: null, importsEncryptionKey: null };
|
unlockedMnemonicAndSeed = { mnemonic: null, seed: null, importsEncryptionKey: null };
|
||||||
walletSeedChanged.emit('change', unlockedMnemonicAndSeed);
|
walletSeedChanged.emit('change', unlockedMnemonicAndSeed);
|
||||||
|
window.location.reload();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue