Skip to content

Commit

Permalink
Merge pull request #35972 from Expensify/youssef_fix_lint
Browse files Browse the repository at this point in the history
[NO QA] Fix variable declared twice
  • Loading branch information
marcaaron authored Feb 6, 2024
2 parents ff622a4 + 0389ac7 commit 331d776
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2312,8 +2312,6 @@ function getReportPreviewMessage(
return `${requestorName ? `${requestorName}: ` : ''}${Localize.translateLocal('iou.requestedAmount', {formattedAmount: amountToDisplay})}`;
}

const containsNonReimbursable = hasNonReimbursableTransactions(report.reportID);

return Localize.translateLocal(containsNonReimbursable ? 'iou.payerSpentAmount' : 'iou.payerOwesAmount', {payer: payerName ?? '', amount: formattedAmount});
}

Expand Down

0 comments on commit 331d776

Please sign in to comment.