Skip to content

Commit

Permalink
fix(www): removes redundant class-name from H2 component (shadcn-ui…
Browse files Browse the repository at this point in the history
…#1703)

* chore: removes redundant class from typography-h2

* chore: remove class from new york style

---------

Co-authored-by: shadcn <[email protected]>
  • Loading branch information
dev-shetty and shadcn authored Oct 18, 2023
1 parent b8bf0c4 commit 2a8b562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion registry/default/example/typography-h2.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default function TypographyH2() {
return (
<h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0">
<h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0">
The People of the Kingdom
</h2>
)
Expand Down
2 changes: 1 addition & 1 deletion registry/new-york/example/typography-h2.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default function TypographyH2() {
return (
<h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0">
<h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0">
The People of the Kingdom
</h2>
)
Expand Down

0 comments on commit 2a8b562

Please sign in to comment.