Skip to content

Commit b586044

Browse files
Apply suggestion from @sobitneupane
Co-authored-by: Sobit Neupane <073bct543.sobit@pcampus.edu.np>
1 parent d588f33 commit b586044

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/actions/IOU.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8349,7 +8349,7 @@ function deleteMoneyRequest(
83498349
}
83508350

83518351
const optimisticReportActions = reportPreviewAction?.reportActionID ? {[reportPreviewAction.reportActionID]: null} : {};
8352-
const optimisticLastReportData = optimisticReportLastData(chatReport?.reportID ?? String(CONST.DEFAULT_NUMBER_ID), optimisticReportActions, canUserPerformWriteAction);
8352+
const optimisticLastReportData = optimisticReportLastData(iouReport?.chatReportID ?? String(CONST.DEFAULT_NUMBER_ID), optimisticReportActions, canUserPerformWriteAction);
83538353

83548354
if (chatReport) {
83558355
optimisticData.push({

0 commit comments

Comments
 (0)