Skip to content

Commit

Permalink
fix: User remains in first step of Onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
truph01 committed Oct 17, 2024
1 parent 286212c commit abd6187
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 abd6187

Please sign in to comment.