Skip to content

Commit f5dbd29

Browse files
Revert "Fix onboarding flow path changes after page refresh"
1 parent 11a4e3c commit f5dbd29

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/libs/actions/Welcome/OnboardingFlow.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ function getOnboardingInitialPath(getOnboardingInitialPathParams: GetOnboardingI
118118
if (isIndividual) {
119119
Onyx.set(ONYXKEYS.ONBOARDING_CUSTOM_CHOICES, [CONST.ONBOARDING_CHOICES.PERSONAL_SPEND, CONST.ONBOARDING_CHOICES.EMPLOYER, CONST.ONBOARDING_CHOICES.CHAT_SPLIT]);
120120
}
121-
122-
if (onboardingInitialPath && state?.routes?.at(-1)?.name === NAVIGATORS.ONBOARDING_MODAL_NAVIGATOR) {
123-
return onboardingInitialPath;
124-
}
125-
126121
if (isUserFromPublicDomain && !onboardingValuesParam?.isMergeAccountStepCompleted) {
127122
return `/${ROUTES.ONBOARDING_WORK_EMAIL.route}`;
128123
}

0 commit comments

Comments
 (0)