From 7aad9065b3461da5f5a262f9f463f4e85a72246f Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Thu, 24 Aug 2023 09:23:09 +0200 Subject: [PATCH] Fix #23903 --- code/ui/components/src/legacy/tabs/tabs.helpers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ui/components/src/legacy/tabs/tabs.helpers.tsx b/code/ui/components/src/legacy/tabs/tabs.helpers.tsx index 024765fd5cf..fe41cc47be9 100644 --- a/code/ui/components/src/legacy/tabs/tabs.helpers.tsx +++ b/code/ui/components/src/legacy/tabs/tabs.helpers.tsx @@ -29,8 +29,8 @@ export const childrenToList = (children: TabsProps['children']) => const render: FC = ( typeof content === 'function' ? content - : ({ active, key }: any) => ( - + : ({ active }) => ( + {content} )