From e9cd3e2c62b8041c4c4be6c48fcb64a39902aa36 Mon Sep 17 00:00:00 2001 From: Nathaniel Parke Date: Fri, 13 Nov 2020 12:27:33 +0800 Subject: [PATCH] Clear react caches after forgetting wallets --- src/utils/wallet-seed.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/wallet-seed.js b/src/utils/wallet-seed.js index 91e45b5..5c5b60a 100644 --- a/src/utils/wallet-seed.js +++ b/src/utils/wallet-seed.js @@ -140,4 +140,5 @@ export function forgetWallet() { sessionStorage.removeItem('unlocked'); unlockedMnemonicAndSeed = { mnemonic: null, seed: null, importsEncryptionKey: null }; walletSeedChanged.emit('change', unlockedMnemonicAndSeed); + window.location.reload(); }