Skip to content

Commit

Permalink
Merge pull request Expensify#50979 from truph01/fix/50064
Browse files Browse the repository at this point in the history
fix: User remains in first step of Onboarding
  • Loading branch information
lakchote authored Oct 18, 2024
2 parents d1f6190 + abd6187 commit 793dcaf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/libs/actions/Welcome/OnboardingFlow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ function startOnboardingFlow() {
if (focusedRoute?.name === currentRoute?.name) {
return;
}
navigationRef.resetRoot(adaptedState);
navigationRef.resetRoot({
...navigationRef.getRootState(),
...adaptedState,
stale: true,
} as PartialState<NavigationState>);
}

function getOnboardingInitialPath(): string {
Expand Down

0 comments on commit 793dcaf

Please sign in to comment.