Skip to content

Commit 81e31ec

Browse files
committed
Enhance PricingAddons: Simplify icon rendering by removing unnecessary props
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent e4ab699 commit 81e31ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/components/Pricing/PricingAddons

src/components/Pricing/PricingAddons/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, enterprisePlan })
6666
secondaryFill={theme?.palette?.background?.inverse || "#eee"}
6767
/>;
6868
case "cloud":
69-
return <Cloud sx={iconStyles.cloud(theme)} />;
69+
return <Cloud />;
7070
case "group":
71-
return <Group sx={iconStyles.group(theme)} />;
71+
return <Group />;
7272
default:
7373
return null;
7474
}
@@ -207,7 +207,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, enterprisePlan })
207207
sx={cardStyles.main}
208208
>
209209
<CardHeader
210-
avatar={<Calculate color="primary" sx={iconStyles.calculate(theme)} />}
210+
avatar={<Calculate color="primary" />}
211211
title={
212212
<Box sx={boxStyles.cardHeaderTitle}>
213213
<Typography variant="h5" component="h3" fontWeight="bold" sx={typographyStyles.headerTitle}>

0 commit comments

Comments
 (0)