diff --git a/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx b/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx index 4df23c110278..0be4ac5518f3 100644 --- a/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx +++ b/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx @@ -50,7 +50,14 @@ function BottomTabBar({isLoadingApp = false}: PurposeForUsingExpensifyModalProps } Welcome.isOnboardingFlowCompleted({ - onNotCompleted: () => Navigation.navigate(ROUTES.ONBOARDING_PURPOSE), + onNotCompleted: () => + Navigation.navigate( + // Uncomment once Stage 1 Onboarding Flow is ready + // + // ROUTES.ONBOARDING_PERSONAL_DETAILS + // + ROUTES.ONBOARD, + ), }); // eslint-disable-next-line react-hooks/exhaustive-deps }, [isLoadingApp]); diff --git a/src/pages/OnboardingPersonalDetails/BaseOnboardingPersonalDetails.tsx b/src/pages/OnboardingPersonalDetails/BaseOnboardingPersonalDetails.tsx index 96ef9f70f048..c7387c2b6aee 100644 --- a/src/pages/OnboardingPersonalDetails/BaseOnboardingPersonalDetails.tsx +++ b/src/pages/OnboardingPersonalDetails/BaseOnboardingPersonalDetails.tsx @@ -61,6 +61,7 @@ function BaseOnboardingPersonalDetails({currentUserPersonalDetails, shouldUseNat }); Navigation.dismissModal(); + // Only navigate to concierge chat when central pane is visible // Otherwise stay on the chats screen. if (isSmallScreenWidth) { @@ -110,10 +111,6 @@ function BaseOnboardingPersonalDetails({currentUserPersonalDetails, shouldUseNat return errors; }; - const handleGoBack = useCallback(() => { - Navigation.goBack(); - }, []); - const PersonalDetailsFooterInstance = ; return ( @@ -121,7 +118,7 @@ function BaseOnboardingPersonalDetails({currentUserPersonalDetails, shouldUseNat { - Navigation.goBack(); - }, []); - const WorkFooterInstance = ; return ( @@ -100,7 +97,7 @@ function BaseOnboardingWork({currentUserPersonalDetails, shouldUseNativeStyles,