Skip to content

Commit

Permalink
fix(ui): remove unnecessary class from CardTitle component
Browse files Browse the repository at this point in the history
  • Loading branch information
tszhong0411 committed Jan 14, 2025
1 parent bb0bc23 commit f724594
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/brown-mugs-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tszhong0411/ui': patch
---

Remove unnecessary class from CardTitle component
2 changes: 1 addition & 1 deletion packages/ui/src/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const CardTitle = (props: CardTitleProps) => {

return (
// eslint-disable-next-line jsx-a11y/heading-has-content -- content is passed via children
<h3 className={cn('text-2xl font-semibold leading-none tracking-tight', className)} {...rest} />
<h3 className={cn('text-2xl font-semibold', className)} {...rest} />
)
}

Expand Down

0 comments on commit f724594

Please sign in to comment.