Skip to content

Commit

Permalink
Merge pull request #44063 from bernhardoj/fix/43727-deeplinked-page-i…
Browse files Browse the repository at this point in the history
…s-closed-after-completing-onboarding

Fix user is not landed on Concierge chat via deeplink after completing onboarding in small screen
  • Loading branch information
AndrewGable authored Jun 24, 2024
2 parents 9e5181d + ea71f7e commit 7fb3d9e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ function BaseOnboardingPersonalDetails({currentUserPersonalDetails, shouldUseNat

// Only navigate to concierge chat when central pane is visible
// Otherwise stay on the chats screen.
if (isSmallScreenWidth) {
Navigation.navigate(ROUTES.HOME);
} else if (AccountUtils.isAccountIDOddNumber(accountID ?? 0)) {
Report.navigateToSystemChat();
} else {
Report.navigateToConciergeChat();
if (!isSmallScreenWidth) {
if (AccountUtils.isAccountIDOddNumber(accountID ?? 0)) {
Report.navigateToSystemChat();
} else {
Report.navigateToConciergeChat();
}
}

// Small delay purely due to design considerations,
Expand Down

0 comments on commit 7fb3d9e

Please sign in to comment.