diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 585e5218d746..936cbb3e6a28 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -659,9 +659,15 @@ function fetchOrCreateChatReport(participants, shouldNavigate = true) { Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT}${data.reportID}`, {reportID: data.reportID}); if (shouldNavigate) { - // Redirect the logged in person to the new report - Navigation.navigate(ROUTES.getReportRoute(data.reportID)); + try { + // Redirect the logged in person to the new report + Navigation.navigate(ROUTES.getReportRoute(data.reportID)); + } catch (e) { + // When switching between the Auth and Public routers there's a brief time of no navigator mounted + console.error(e); + } } + return data.reportID; }); }