Skip to content

Commit

Permalink
fix: prettier diff
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispader committed Jun 12, 2024
1 parent 8bab925 commit 732e9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ function isMoneyRequest(reportOrID: OnyxEntry<Report> | string): boolean {
* Checks if a report is an IOU or expense report.
*/
function isMoneyRequestReport(reportOrID: OnyxInputOrEntry<Report> | EmptyObject | string): boolean {
const report = typeof reportOrID === 'string' ? allReports?.[`${ONYXKEYS.COLLECTION.REPORT}${reportOrID}`] ?? null : reportOrID;
const report = typeof reportOrID === 'string' ? allReports?.[`${ONYXKEYS.COLLECTION.REPORT}${reportOrID}`] ?? null : reportOrID;
return isIOUReport(report) || isExpenseReport(report);
}

Expand Down

0 comments on commit 732e9b5

Please sign in to comment.