Skip to content

Commit 7c07d97

Browse files
authored
Merge pull request Expensify#89760 from situchan/fix-89559
[CP Staging] fix Switch flow - Page keeps on loading when click on Try New Expensify
2 parents b30f01d + e3562dc commit 7c07d97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/LogOutPreviousUserPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function LogOutPreviousUserPage({route}: LogOutPreviousUserPageProps) {
7474
if (!CONFIG.IS_HYBRID_APP && exitTo !== ROUTES.WORKSPACE_NEW && !isAccountLoading && !isLoggingInAsNewUser) {
7575
Navigation.isNavigationReady().then(() => {
7676
// remove this screen and navigate to exit route
77-
Navigation.goBack();
77+
Navigation.goBack(ROUTES.HOME);
7878
if (exitTo) {
7979
Navigation.navigate(exitTo as Route);
8080
}

0 commit comments

Comments
 (0)