From 8ff9230f95364c30c19f7810557265d2c58b6035 Mon Sep 17 00:00:00 2001 From: nkdengineer Date: Wed, 25 Dec 2024 15:15:29 +0700 Subject: [PATCH] fix: add dismiss modal when cancel payment --- src/libs/actions/IOU.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index 8b786071e89d..97b8e421f4fb 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -7845,6 +7845,7 @@ function cancelPayment(expenseReport: OnyxEntry, chatReport: O }, {optimisticData, successData, failureData}, ); + Navigation.dismissModal(); Report.notifyNewAction(expenseReport.reportID, userAccountID); }