Skip to content

Commit

Permalink
supress lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Apr 2, 2024
1 parent 3b474df commit b101c09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/TransactionReceiptPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function TransactionReceipt({transaction, report, reportMetadata = {isLoadingIni
const moneyRequestReportID = ReportUtils.isMoneyRequestReport(report) ? report?.reportID : report?.parentReportID;
const isTrackExpenseReport = ReportUtils.isTrackExpenseReport(report);

// eslint-disable-next-line rulesdir/no-negated-variables
const shouldShowNotFoundPage = isTrackExpenseReport ? !transaction : (moneyRequestReportID ?? '') !== transaction?.reportID;

return (
Expand Down

0 comments on commit b101c09

Please sign in to comment.