Skip to content

Commit

Permalink
fix double negation lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
cdOut committed Jan 17, 2024
1 parent b1e2aeb commit b9f4551
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 @@ -2044,7 +2044,7 @@ function getTransactionReportName(reportAction: OnyxEntry<ReportAction>): string
}

const transaction = TransactionUtils.getLinkedTransaction(reportAction);
if (!!isEmptyObject(transaction)) {
if (isEmptyObject(transaction)) {
// Transaction data might be empty on app's first load, if so we fallback to Request
return Localize.translateLocal('iou.request');
}
Expand Down

0 comments on commit b9f4551

Please sign in to comment.