Skip to content

Commit

Permalink
remove getChatByReportID as it is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
nexarvo committed Mar 28, 2024
1 parent 6e12a35 commit 3cf9606
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -5750,7 +5746,6 @@ export {
shouldCreateNewMoneyRequestReport,
isTrackExpenseReport,
hasActionsWithErrors,
getChatByReportID,
};

export type {
Expand Down

0 comments on commit 3cf9606

Please sign in to comment.