diff --git a/apps/browser-extension-wallet/src/views/browser-view/features/multi-wallet/create-wallet/context.tsx b/apps/browser-extension-wallet/src/views/browser-view/features/multi-wallet/create-wallet/context.tsx index b518a91a02..e46ffc2323 100644 --- a/apps/browser-extension-wallet/src/views/browser-view/features/multi-wallet/create-wallet/context.tsx +++ b/apps/browser-extension-wallet/src/views/browser-view/features/multi-wallet/create-wallet/context.tsx @@ -118,6 +118,7 @@ export const CreateWalletProvider = ({ children }: Props): React.ReactElement => if (recoveryMethod === 'mnemonic') { await finalizeWalletCreation(state); history.push(walletRoutePaths.assets); + window.location.reload(); break; } setStep(WalletCreateStep.SavePaperWallet); @@ -127,6 +128,7 @@ export const CreateWalletProvider = ({ children }: Props): React.ReactElement => if (!state.name) throw new Error('Expected name'); await finalizeWalletCreation(state); history.push(walletRoutePaths.assets); + window.location.reload(); break; } } diff --git a/apps/browser-extension-wallet/src/views/browser-view/features/multi-wallet/restore-wallet/context.tsx b/apps/browser-extension-wallet/src/views/browser-view/features/multi-wallet/restore-wallet/context.tsx index fefcb3eb4b..e815f1b10b 100644 --- a/apps/browser-extension-wallet/src/views/browser-view/features/multi-wallet/restore-wallet/context.tsx +++ b/apps/browser-extension-wallet/src/views/browser-view/features/multi-wallet/restore-wallet/context.tsx @@ -153,6 +153,7 @@ export const RestoreWalletProvider = ({ children }: Props): React.ReactElement = break; case WalletRestoreStep.Setup: history.push(walletRoutePaths.assets); + window.location.reload(); break; } }, [history, step, recoveryMethod]); diff --git a/apps/browser-extension-wallet/src/views/browser-view/features/settings/components/SettingsSecurity.tsx b/apps/browser-extension-wallet/src/views/browser-view/features/settings/components/SettingsSecurity.tsx index 266b52aeaa..41773d8b93 100644 --- a/apps/browser-extension-wallet/src/views/browser-view/features/settings/components/SettingsSecurity.tsx +++ b/apps/browser-extension-wallet/src/views/browser-view/features/settings/components/SettingsSecurity.tsx @@ -67,9 +67,10 @@ export const SettingsSecurity = ({ setHideShowPassphraseSetting(isWalletLocked() || !isInMemoryWallet); }, [isInMemoryWallet, isWalletLocked]); - const handleCloseShowPassphraseDrawer = () => { + const handleCloseShowPassphraseDrawer = async () => { setIsShowPassphraseDrawerOpen(false); - analytics.sendEventToPostHog(PostHogAction.SettingsShowRecoveryPhraseYourRecoveryPhraseXClick); + await analytics.sendEventToPostHog(PostHogAction.SettingsShowRecoveryPhraseYourRecoveryPhraseXClick); + window.location.reload(); }; const handleOpenShowPassphraseDrawer = () => {