From 96e2d6a574c9eb626a7e22aa7e199f1ace939716 Mon Sep 17 00:00:00 2001 From: Mathias Wagner <germannewsmaker@gmail.com> Date: Mon, 10 Jul 2023 17:19:35 +0200 Subject: [PATCH] Fixed a bug in the Plan.jsx --- src/pages/Pricing/components/Plan/Plan.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/Pricing/components/Plan/Plan.jsx b/src/pages/Pricing/components/Plan/Plan.jsx index a1c4b31..6ccf8b8 100644 --- a/src/pages/Pricing/components/Plan/Plan.jsx +++ b/src/pages/Pricing/components/Plan/Plan.jsx @@ -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>