From de2ccfcc6a8ecacdccb1e021d95fcc1266021b8b Mon Sep 17 00:00:00 2001 From: awebber Date: Fri, 6 Oct 2023 12:32:20 +0100 Subject: [PATCH] fix: replaced empty jsx with react fragment --- src/tabGroup/TabGroup.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabGroup/TabGroup.tsx b/src/tabGroup/TabGroup.tsx index 1333e03c..145aced8 100644 --- a/src/tabGroup/TabGroup.tsx +++ b/src/tabGroup/TabGroup.tsx @@ -167,7 +167,7 @@ export const TabGroup = forwardRef( {tabPanels.map((tabPanel, index) => ( - <> + {tabPanel && (
)} - + ))}
);