Skip to content

Commit c0cbee6

Browse files
committed
fix nan
1 parent a594ae0 commit c0cbee6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/Pricing/PricingAddons

src/components/Pricing/PricingAddons/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly ,currency,enterpri
488488
if (selectedAddon?.id === "academy") {
489489
const theorySubAddon = selectedAddon?.subAddOns?.find(sub => sub.id === "academy-theory");
490490
if (theorySubAddon?.pricing && theorySubAddon.pricing[quantityIndex]) {
491-
const currentLearnerOption = theorySubAddon.pricing[quantityIndex];
491+
const currentLearnerOption = theorySubAddon.pricing[quantityIndex];
492492
const monthlyPerUserCost = currentLearnerOption.monthlyPerUser;
493493
const yearlyPerUserCost = currentLearnerOption.yearlyPerUser;
494494
const totalCost = isYearly

0 commit comments

Comments
 (0)