diff --git a/src/libs/ReportActionsUtils.ts b/src/libs/ReportActionsUtils.ts index 9e8ba6caf903..64c4ed61f7fd 100644 --- a/src/libs/ReportActionsUtils.ts +++ b/src/libs/ReportActionsUtils.ts @@ -806,7 +806,12 @@ function isTaskAction(reportAction: OnyxEntry): boolean { * Gets the reportID for the transaction thread associated with a report by iterating over the reportActions and identifying the IOU report actions. * Returns a reportID if there is exactly one transaction thread for the report, and null otherwise. */ -function getOneTransactionThreadReportID(reportID: string, reportActions: OnyxEntry | ReportAction[], skipReportTypeCheck: boolean | false = false, isOffline: boolean | undefined = undefined): string | null { +function getOneTransactionThreadReportID( + reportID: string, + reportActions: OnyxEntry | ReportAction[], + skipReportTypeCheck: boolean | undefined = undefined, + isOffline: boolean | undefined = undefined, +): string | null { if (!skipReportTypeCheck) { // If the report is not an IOU, Expense report, or Invoice, it shouldn't be treated as one-transaction report. const report = allReports?.[`${ONYXKEYS.COLLECTION.REPORT}${reportID}`];