Skip to content

Commit

Permalink
fix: add dismiss modal when cancel payment
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Dec 25, 2024
1 parent a20cb32 commit 8ff9230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7845,6 +7845,7 @@ function cancelPayment(expenseReport: OnyxEntry<OnyxTypes.Report>, chatReport: O
},
{optimisticData, successData, failureData},
);
Navigation.dismissModal();
Report.notifyNewAction(expenseReport.reportID, userAccountID);
}

Expand Down

0 comments on commit 8ff9230

Please sign in to comment.