Skip to content

Commit

Permalink
Addressed to reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahe Shahinyan committed Mar 6, 2024
1 parent 2daf9dc commit 64259b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function MoneyRequestPreviewContent({
const isTooLong = violationsCount > 1 || violationMessage.length > 15;
const hasViolationsAndFieldErrors = violationsCount > 0 && hasFieldErrors;

return `${message}${isTooLong || hasViolationAndFieldErrors ? translate('violations.reviewRequired') : violationMessage}`;
return `${message}${isTooLong || hasViolationsAndFieldErrors ? translate('violations.reviewRequired') : violationMessage}`;
}

const isMerchantMissing = TransactionUtils.isMerchantMissing(transaction);
Expand Down

0 comments on commit 64259b3

Please sign in to comment.