Skip to content

Commit eac5abe

Browse files
authored
Update index.js
Signed-off-by: Naman Verma <149177973+Namanv0509@users.noreply.github.com>
1 parent 4ce9275 commit eac5abe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/components/Pricing/PricingAddons

src/components/Pricing/PricingAddons/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, currency, enterpr
350350
const totalPrice = pricePerUser * option.learners * multiplier;
351351
const period = isYearly ? "/year" : "/month";
352352
return `per learner price - ${formatSliderPrice(
353-
(isYearly ? option.yearlyPerUser / 12 : option.monthlyPerUser) * (selectedSubAddOns["academy-practical"] ? 2 : 1), currency)}${isYearly ? "/month" : "/month"}`;
353+
(isYearly ? option.yearlyPerUser : option.monthlyPerUser) * (selectedSubAddOns["academy-practical"] ? 2 : 1), currency)}${isYearly ? "/yearly" : "/month"}`;
354354
}
355355
return "";
356356
}}
@@ -575,4 +575,4 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, currency, enterpr
575575
</CssBaseline>
576576
</SistentThemeProvider>
577577
);
578-
};
578+
};

0 commit comments

Comments
 (0)