Skip to content

Commit

Permalink
nit(OfferPresenter): updated verification for the application of a pr…
Browse files Browse the repository at this point in the history
…ice reduction
  • Loading branch information
guilhermespopolin committed Jul 5, 2023
1 parent 6918fe0 commit c58ca48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ const useDiscountTooltipProps = (
if (selectedOffer.priceMatch) {
const company = selectedOffer.priceMatch.externalInsurer.displayName

if (selectedOffer.priceMatch.priceReduction.amount < 1) {
if (selectedOffer.priceMatch.priceReduction.amount <= 0) {
// No price reduction due to incomparable offers
const amount = formatter.monthlyPrice(selectedOffer.priceMatch.externalPrice)
return {
Expand Down

0 comments on commit c58ca48

Please sign in to comment.