From 59de69816921db1f4d9c7ae97ad1fc3636ec48b0 Mon Sep 17 00:00:00 2001 From: Victor Kirov Date: Wed, 30 Oct 2024 11:10:40 +0200 Subject: [PATCH] Add missing await from onboarding flow (#729) --- src/app/components/guards/onboarding/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/guards/onboarding/index.tsx b/src/app/components/guards/onboarding/index.tsx index 7251342cf..2498b235a 100644 --- a/src/app/components/guards/onboarding/index.tsx +++ b/src/app/components/guards/onboarding/index.tsx @@ -38,7 +38,7 @@ function OnboardingGuard({ children }: WalletExistsGuardProps): React.ReactEleme return; } - unlockVault(''); + await unlockVault(''); setIsWalletInitialized(false); } catch (e) { // seed exists and unlocking with empty password failed