diff --git a/src/libs/SidebarUtils.ts b/src/libs/SidebarUtils.ts index 2347f5b9f5c5..9f08a864123a 100644 --- a/src/libs/SidebarUtils.ts +++ b/src/libs/SidebarUtils.ts @@ -183,9 +183,6 @@ function getOrderedReportIDs( // eslint-disable-next-line no-param-reassign report.displayName = ReportUtils.getReportName(report); - // eslint-disable-next-line no-param-reassign - report.iouReportAmount = ReportUtils.getMoneyRequestSpendBreakdown(report, allReports).totalDisplaySpend; - const isPinned = report.isPinned ?? false; const reportAction = ReportActionsUtils.getReportAction(report.parentReportID ?? '', report.parentReportActionID ?? ''); if (isPinned || ReportUtils.requiresAttentionFromCurrentUser(report, reportAction)) { @@ -269,7 +266,6 @@ function getOptionData({ isPinned: false, hasOutstandingChildRequest: false, isIOUReportOwner: null, - iouReportAmount: 0, isChatRoom: false, isArchivedRoom: false, shouldShowSubscript: false, @@ -416,7 +412,6 @@ function getOptionData({ } result.isIOUReportOwner = ReportUtils.isIOUOwnedByCurrentUser(result as Report); - result.iouReportAmount = ReportUtils.getMoneyRequestSpendBreakdown(result as Report).totalDisplaySpend; if (!hasMultipleParticipants) { result.accountID = personalDetail?.accountID;