diff --git a/src/libs/getReportPolicyID.ts b/src/libs/getReportPolicyID.ts index a5ed639ecae2..12124f24fbe7 100644 --- a/src/libs/getReportPolicyID.ts +++ b/src/libs/getReportPolicyID.ts @@ -23,7 +23,8 @@ function getReport(reportID: string | undefined): OnyxEntry | 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;