diff --git a/src/card.tsx b/src/card.tsx index 9b0461b47c..0cfa41c17a 100644 --- a/src/card.tsx +++ b/src/card.tsx @@ -458,7 +458,7 @@ const CardContent: React.FC = ({ )} - {extra && {extra}} + {extra &&
{extra}
} {(button || buttonLink) && ( @@ -817,7 +817,7 @@ export const SmallNakedCard = React.forwardRef - {extra && {extra}} + {extra &&
{extra}
} @@ -951,7 +951,7 @@ export const DataCard = React.forwardRef( )} - {extra && {extra}} + {extra &&
{extra}
} {(button || buttonLink) && (
@@ -1079,7 +1079,7 @@ export const SnapCard = React.forwardRef( )}
- {extra && {extra}} + {extra &&
{extra}
} @@ -1133,7 +1133,7 @@ const DisplayCardContent: React.FC = ({ {description} )} - {extra && {extra}} + {extra &&
{extra}
} ); };