Skip to content

Commit

Permalink
Remove unecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
José Carneiro committed Nov 18, 2024
1 parent 82d6f5e commit dc52014
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,6 @@ export const computePriceItemValues = (
cashbackAmount = unitAmount.multiply(cashbackPercentage).divide(100);
}

/**
* The cashback amount must take into account the price recurrence
* For 1 time prices we just subtract the cashback amount from the unit amount
* For recurring prices we divide the cashback amount by the number of periods in 1 year, and then subtract it
* from the unit amount
*/
const normalizedCashbackAmount = normalizeTimeFrequencyFromDineroInputValue(
cashbackAmount,
'yearly',
Expand Down

0 comments on commit dc52014

Please sign in to comment.