Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed Mar 21, 2024
1 parent 6e3cf96 commit 0d34931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/Tabs/TabList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const TabList: FC<TabListProps> = ({
const theme: TabsTheme = useComponentTheme('tabs');

const childs = Children.toArray(children)
.filter((child: any) => child.type?.name === 'Tab')
.filter((child: any) => child.type?.name === Tab.name)
.map((child: any) => child.props);

return (
Expand Down

0 comments on commit 0d34931

Please sign in to comment.