Skip to content

Commit

Permalink
Merge branch 'main' into fix-slider-rem
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones authored Oct 27, 2023
2 parents 7a18c04 + 3a98d29 commit cfe4b9a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/react/src/components/Tabs/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -903,11 +903,7 @@ const Tab = forwardRef<HTMLElement, TabProps>(function Tab(
{<Icon size={16} />}
</div>
)}
<Text
className={`${prefix}--tabs__nav-item-label`}
title={children as string}>
{children}
</Text>
<Text className={`${prefix}--tabs__nav-item-label`}>{children}</Text>
{/* always rendering dismissIcon so we don't lose reference to it, otherwise events do not work when switching from/to dismissable state */}
<div
className={cx(`${prefix}--tabs__nav-item--icon`, {
Expand Down

0 comments on commit cfe4b9a

Please sign in to comment.