From 5c5af621d433ea0d0bee2e2338de8787a9cbc079 Mon Sep 17 00:00:00 2001 From: Wojciech Boman Date: Thu, 14 Aug 2025 14:13:13 +0200 Subject: [PATCH] Fix navigating from handleReportChanged function --- src/libs/actions/Report.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index 9b4ffa36d4e2..0bdfb7363756 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -1824,7 +1824,7 @@ function handleReportChanged(report: OnyxEntry) { const currCallback = callback; callback = () => { currCallback(); - Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(preexistingReportID), {forceReplace: true}); + Navigation.setParams({reportID: preexistingReportID}); }; // The report screen will listen to this event and transfer the draft comment to the existing report