From 3cf9606ff010bbc9bdf4555d6dc35c4fea3b2b7a Mon Sep 17 00:00:00 2001 From: usman-ghani564 Date: Thu, 28 Mar 2024 21:27:02 +0500 Subject: [PATCH] remove getChatByReportID as it is not needed --- src/libs/ReportUtils.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index d8936c2cae40..ce4264b32141 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -4421,10 +4421,6 @@ function getChatByParticipants(newParticipantList: number[], reports: OnyxCollec ); } -function getChatByReportID(reportID: string) { - return allReports[`${ONYXKEYS.COLLECTION.REPORT}${reportID}`] -} - /** * Attempts to find a report in onyx with the provided list of participants in given policy */ @@ -5750,7 +5746,6 @@ export { shouldCreateNewMoneyRequestReport, isTrackExpenseReport, hasActionsWithErrors, - getChatByReportID, }; export type {