Skip to content

Commit

Permalink
fix add comment to a new file
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Mar 20, 2024
1 parent 475f300 commit 7089e82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/getReportPolicyID.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ function getReport(reportID: string | undefined): OnyxEntry<Report> | EmptyObjec
}

/**
* Get the report policyID given a reportID
* Get the report policyID given a reportID.
* We need to define this method in a separate file to avoid cyclic dependency.
*/
function getReportPolicyID(reportID?: string): string | undefined {
return getReport(reportID)?.policyID;
Expand Down

0 comments on commit 7089e82

Please sign in to comment.