From 5d6534514aa7340dd5c7bd5cd542deeda1b3120a Mon Sep 17 00:00:00 2001 From: Pablo Allendes Date: Wed, 21 Feb 2024 12:35:08 +0100 Subject: [PATCH] fix(TabPanel): Remove as={React.Fragment} prop Remove as={React.Fragment} prop, as this will throw a console error when headless ui attempt to pass down some basic html attributes --- src/components/tab/tab-panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tab/tab-panel.tsx b/src/components/tab/tab-panel.tsx index e48547b4..9bfecbf2 100644 --- a/src/components/tab/tab-panel.tsx +++ b/src/components/tab/tab-panel.tsx @@ -6,5 +6,5 @@ export interface TabPanelProps { } export const TabPanel = ({ children }: TabPanelProps) => { - return {children}; + return {children}; };