Skip to content

Commit

Permalink
Merge pull request #29245 from HezekielT/fix--App-freezes-after-kille…
Browse files Browse the repository at this point in the history
…d-app-is-called-via-concierge-deep-link

fix - app freeze issue
  • Loading branch information
flodnv authored Oct 11, 2023
2 parents e825aa7 + 7c886ef commit f557852
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/ConciergePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ function ConciergePage(props) {
useFocusEffect(() => {
if (_.has(props.session, 'authToken')) {
// Pop the concierge loading page before opening the concierge report.
Navigation.goBack(ROUTES.HOME);
Report.navigateToConciergeChat();
Navigation.isNavigationReady().then(() => {
Navigation.goBack(ROUTES.HOME);
Report.navigateToConciergeChat();
});
} else {
Navigation.navigate();
}
Expand Down

0 comments on commit f557852

Please sign in to comment.