Skip to content

Commit 2c21327

Browse files
committed
fix: lint
1 parent a1d2d06 commit 2c21327

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/OptionsListUtils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ function getLastMessageTextForReport({
709709
const iouReportID = iouReport?.reportID;
710710
const reportCache = iouReportID ? visibleReportActionsDataParam?.[iouReportID] : undefined;
711711
const visibleReportActionsForIOUReport = reportCache && Object.keys(reportCache).length > 0 ? visibleReportActionsDataParam : undefined;
712-
const iouReportActions = iouReportID ? deprecatedAllSortedReportActions[iouReportID] : undefined;
712+
const iouReportActions = iouReportID ? sortedActions?.[iouReportID] : undefined;
713713
const canPerformWrite = canUserPerformWriteAction(report, isReportArchived);
714714
const lastIOUMoneyReportAction =
715715
iouReportID && iouReportActions

0 commit comments

Comments
 (0)