diff --git a/src/libs/actions/Session/index.ts b/src/libs/actions/Session/index.ts index 6f29382f25a8..22b8b37c72d2 100644 --- a/src/libs/actions/Session/index.ts +++ b/src/libs/actions/Session/index.ts @@ -1001,6 +1001,7 @@ function handleExitToNavigation(exitTo: Route | HybridAppRoute) { waitForUserSignIn().then(() => { Navigation.waitForProtectedRoutes().then(() => { const url = NativeModules.HybridAppModule ? Navigation.parseHybridAppUrl(exitTo) : (exitTo as Route); + Navigation.goBack(); Navigation.navigate(url); }); }); diff --git a/src/pages/ValidateLoginPage/index.tsx b/src/pages/ValidateLoginPage/index.tsx index faf12194ca62..1ecb4ab3e7e3 100644 --- a/src/pages/ValidateLoginPage/index.tsx +++ b/src/pages/ValidateLoginPage/index.tsx @@ -23,7 +23,6 @@ function ValidateLoginPage({ Session.handleExitToNavigation(exitTo); return; } - Navigation.goBack(); } else { Session.signInWithValidateCodeAndNavigate(Number(accountID), validateCode, '', exitTo); }