Skip to content

Commit

Permalink
fix: remove title from tag component (#15886)
Browse files Browse the repository at this point in the history
Co-authored-by: TJ Egan <tw15egan@gmail.com>
  • Loading branch information
davidmenendez and tw15egan committed Mar 6, 2024
1 parent 7caa384 commit a25947d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Tag/Tag.tsx
Expand Up @@ -184,7 +184,7 @@ const Tag = <T extends React.ElementType>({
) : (
''
)}
<Text title={typeof children === 'string' ? children : undefined}>
<Text>
{children !== null && children !== undefined ? children : typeText}
</Text>
{normalizedSlug}
Expand Down

0 comments on commit a25947d

Please sign in to comment.