Skip to content

Commit 14abbd9

Browse files
dev-shettyshadcn
andauthored
fix(www): removes redundant class-name from H2 component (#1703)
* chore: removes redundant class from typography-h2 * chore: remove class from new york style --------- Co-authored-by: shadcn <[email protected]>
1 parent 46f247c commit 14abbd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/www/registry/default/example/typography-h2.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default function TypographyH2() {
22
return (
3-
<h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0">
3+
<h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0">
44
The People of the Kingdom
55
</h2>
66
)

apps/www/registry/new-york/example/typography-h2.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default function TypographyH2() {
22
return (
3-
<h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0">
3+
<h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0">
44
The People of the Kingdom
55
</h2>
66
)

0 commit comments

Comments
 (0)