@@ -18,15 +18,15 @@ import {
1818 Chip ,
1919 CssBaseline ,
2020 TextField ,
21- useTheme
21+ useTheme ,
22+ SistentThemeProvider
2223} from "@sistent/sistent" ;
2324import { Calculate , CheckCircle } from "@mui/icons-material" ;
2425import { useStyledDarkMode } from "../../../theme/app/useStyledDarkMode" ;
2526import { getAddOns } from "./pricingData" ;
2627import FeatureDetails from "../PlanCard/collapsible-details" ;
2728import PlanCardWrapper from "../PlanCard/planCard.style" ;
2829import Button from "../../../reusecore/Button" ;
29- import { SistentThemeProvider } from "@sistent/sistent" ;
3030
3131export 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