Fixed a bug in the Plan.jsx

This commit is contained in:
Mathias Wagner 2023-07-10 17:19:35 +02:00
parent bc7fbcf097
commit 96e2d6a574
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -24,7 +24,9 @@ export const Plan = ({name, price, features = {}}) => {
<Stack direction="row" alignItems="center" key={key}>
{value === false ? <Close color="error" fontSize="large" sx={{mr: 0.5}}/>
: <Check color="success" fontSize="large" sx={{mr: 0.5}}/>}
<Typography variant="h6" fontWeight={500}>{value} {key}</Typography>
<Typography variant="h6" fontWeight={500}>
{typeof value === "boolean" ? "" : value} {key}
</Typography>
</Stack>
))}
</Stack>