From 8eb5e6f7d36c33fd7169cbaa119759f8625a3ee9 Mon Sep 17 00:00:00 2001 From: Victor Genaev Date: Tue, 16 Jan 2024 18:36:57 +0100 Subject: [PATCH] fix(Card): remove loosy equality check for children in CardSection --- packages/orbit-components/src/Card/CardSection/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/orbit-components/src/Card/CardSection/index.tsx b/packages/orbit-components/src/Card/CardSection/index.tsx index c266cedd24..ebd383df23 100644 --- a/packages/orbit-components/src/Card/CardSection/index.tsx +++ b/packages/orbit-components/src/Card/CardSection/index.tsx @@ -103,7 +103,7 @@ export default function CardSection({ )} - {children != null && expandable && ( + {children && expandable && (
@@ -113,7 +113,7 @@ export default function CardSection({ )} - {children != null && !expandable && ( + {children && !expandable && (