Skip to content

Commit 47f8ca4

Browse files
authored
Merge pull request Expensify#67699 from rushatgabhane/revert-67017-fix/onboarding-refresh-path-issue
Revert "Fix onboarding flow path changes after page refresh"
2 parents e246376 + 9cdc801 commit 47f8ca4

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)