diff --git a/apps/admin-x-settings/src/components/settings/growth/offers/OffersIndex.tsx b/apps/admin-x-settings/src/components/settings/growth/offers/OffersIndex.tsx index dd051c3470..75f44e3b99 100644 --- a/apps/admin-x-settings/src/components/settings/growth/offers/OffersIndex.tsx +++ b/apps/admin-x-settings/src/components/settings/growth/offers/OffersIndex.tsx @@ -59,6 +59,11 @@ export const getOfferDiscount = (type: string, amount: number, cadence: string, break; }; + // Check if updatedPrice is negative, if so, set it to 0 + if (updatedPrice < 0) { + updatedPrice = 0; + } + const updatedPriceWithCurrency = getSymbol(currency) + numberWithCommas(formatToTwoDecimals(currencyToDecimal(updatedPrice))); return {