From b791f87cdd4d3b6b923820c1078009120ba3ace6 Mon Sep 17 00:00:00 2001 From: dmkt9 Date: Wed, 25 Mar 2026 09:47:12 +0700 Subject: [PATCH] Revert "Merge pull request #83876 from Expensify/revert-82516-fix/80075" --- src/libs/actions/Report/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/libs/actions/Report/index.ts b/src/libs/actions/Report/index.ts index 5ac96a870b06..9cf77b94d2cf 100644 --- a/src/libs/actions/Report/index.ts +++ b/src/libs/actions/Report/index.ts @@ -4300,8 +4300,11 @@ function navigateToMostRecentReport(currentReport: OnyxEntry, conciergeR if (lastAccessedReportID === topmostSuperWideRHP && !getIsNarrowLayout()) { Navigation.dismissToSuperWideRHP(); } else { - const lastAccessedReportRoute = ROUTES.REPORT_WITH_ID.getRoute(lastAccessedReportID); - Navigation.goBack(lastAccessedReportRoute); + Navigation.dismissModal(); + Navigation.isNavigationReady().then(() => { + const lastAccessedReportRoute = ROUTES.REPORT_WITH_ID.getRoute(lastAccessedReportID); + Navigation.goBack(lastAccessedReportRoute); + }); } } else { const isChatThread = isChatThreadReportUtils(currentReport);