Skip to content

Commit

Permalink
Fix #23903
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Aug 24, 2023
1 parent d00dc29 commit 7aad906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ui/components/src/legacy/tabs/tabs.helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export const childrenToList = (children: TabsProps['children']) =>
const render: FC<Addon_RenderOptions> = (
typeof content === 'function'
? content
: ({ active, key }: any) => (
<VisuallyHidden key={key} active={active} role="tabpanel">
: ({ active }) => (
<VisuallyHidden active={active} role="tabpanel">
{content}
</VisuallyHidden>
)
Expand Down

0 comments on commit 7aad906

Please sign in to comment.