Skip to content

Commit

Permalink
Merge pull request #45656 from dominictb/fix/44929-blank-bg-desktop
Browse files Browse the repository at this point in the history
fix: skip redundant goBack in setupPoliciesAndNavigate
  • Loading branch information
thienlnam authored Jul 18, 2024
2 parents 90c3782 + 6839fcb commit 9a5ce90
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libs/actions/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,6 @@ function setUpPoliciesAndNavigate(session: OnyxEntry<OnyxTypes.Session>) {
if (!isLoggingInAsNewUser && exitTo) {
Navigation.waitForProtectedRoutes()
.then(() => {
// We must call goBack() to remove the /transition route from history
Navigation.goBack();
Navigation.navigate(exitTo);
})
.then(endSignOnTransition);
Expand Down

0 comments on commit 9a5ce90

Please sign in to comment.