diff --git a/packages/react-headless/tabs/src/useLazyContents.test.tsx b/packages/react-headless/tabs/src/useLazyContents.test.tsx index e1cda58c4..0c69fae9c 100644 --- a/packages/react-headless/tabs/src/useLazyContents.test.tsx +++ b/packages/react-headless/tabs/src/useLazyContents.test.tsx @@ -86,13 +86,10 @@ function TabTrigger(props: React.PropsWithChildren) { function TabContentList(props: React.PropsWithChildren) { const { api } = useTabsContext(); - const { tabContentListProps, getDragProps, tabContentCameraProps } = api; - const dragProps = getDragProps(); + const { tabContentListProps, tabContentCameraProps } = api; return (
-
- {props.children} -
+
{props.children}
); } diff --git a/packages/react-headless/tabs/src/useTabs.test.tsx b/packages/react-headless/tabs/src/useTabs.test.tsx index 75aad503f..c39746dfb 100644 --- a/packages/react-headless/tabs/src/useTabs.test.tsx +++ b/packages/react-headless/tabs/src/useTabs.test.tsx @@ -60,13 +60,10 @@ function TabTrigger(props: React.PropsWithChildren) { function TabContentList(props: React.PropsWithChildren) { const { api } = useTabsContext(); - const { tabContentListProps, getDragProps, tabContentCameraProps } = api; - const dragProps = getDragProps(); + const { tabContentListProps, tabContentCameraProps } = api; return (
-
- {props.children} -
+
{props.children}
); }