diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index 833ce1d7dc57..f2a9e2f55aa0 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -2170,7 +2170,11 @@ function getDeletedParentActionMessageForChatReport(reportAction: OnyxEntry, reportOrID: OnyxEntry | string, shouldUseShortDisplayName = true): string { +function getReimbursementQueuedActionMessage( + reportAction: OnyxEntry>, + reportOrID: OnyxEntry | string, + shouldUseShortDisplayName = true, +): string { const report = typeof reportOrID === 'string' ? allReports?.[`${ONYXKEYS.COLLECTION.REPORT}${reportOrID}`] : reportOrID; const submitterDisplayName = getDisplayNameForParticipant(report?.ownerAccountID, shouldUseShortDisplayName) ?? ''; const originalMessage = ReportActionsUtils.getOriginalMessage(reportAction);