Clear react caches after forgetting wallets

This commit is contained in:
Nathaniel Parke 2020-11-13 12:27:33 +08:00
parent 06dec01f50
commit e9cd3e2c62
1 changed files with 1 additions and 0 deletions

View File

@ -140,4 +140,5 @@ export function forgetWallet() {
sessionStorage.removeItem('unlocked');
unlockedMnemonicAndSeed = { mnemonic: null, seed: null, importsEncryptionKey: null };
walletSeedChanged.emit('change', unlockedMnemonicAndSeed);
window.location.reload();
}