Skip to content

Commit f461489

Browse files
committed
Fix: Update
Signed-off-by: Varad Gupta <114755221+vr-varad@users.noreply.github.com>
1 parent 1b1337a commit f461489

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • src/components/Pricing/PricingAddons

src/components/Pricing/PricingAddons/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ import {
1818
Chip,
1919
CssBaseline,
2020
TextField,
21-
useTheme
21+
useTheme,
22+
SistentThemeProvider
2223
} from "@sistent/sistent";
2324
import { Calculate, CheckCircle } from "@mui/icons-material";
2425
import { useStyledDarkMode } from "../../../theme/app/useStyledDarkMode";
2526
import { getAddOns } from "./pricingData";
2627
import FeatureDetails from "../PlanCard/collapsible-details";
2728
import PlanCardWrapper from "../PlanCard/planCard.style";
2829
import Button from "../../../reusecore/Button";
29-
import { SistentThemeProvider } from "@sistent/sistent";
3030

3131
export const PricingAddons = ({ isYearly = false, setIsYearly, enterprisePlan }) => {
3232
const [selectedAddon, setSelectedAddon] = useState(null);
@@ -281,7 +281,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, enterprisePlan })
281281
? addon.description
282282
: (() => {
283283
const period = isYearly ? "/year" : "/month";
284-
return `${formatPrice(isYearly ? addon.yearlyprice : addon.monthlyprice)} per ${addon.unitLabel.slice(0, -1)}${period}`;
284+
return `${formatPrice(isYearly ? addon.yearlyPrice : addon.monthlyPrice)} per ${addon.unitLabel.slice(0, -1)}${period}`;
285285
})()
286286
}
287287
</Typography>
@@ -566,7 +566,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, enterprisePlan })
566566
}
567567
return formatPrice(0);
568568
} else {
569-
return formatPrice((isYearly ? selectedAddon?.yearlyprice : selectedAddon?.monthlyprice) * quantity);
569+
return formatPrice((isYearly ? selectedAddon?.yearlyPrice : selectedAddon?.monthlyPrice) * quantity);
570570
}
571571
})()}
572572
</Typography>

0 commit comments

Comments
 (0)