Skip to content

Commit

Permalink
fix: use h2 element instead of h1 element for H2 component
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Sep 12, 2023
1 parent d595c66 commit 5f8e6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/headings/h2.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PropsWithChildren } from 'react';

export default function H2({ children }: PropsWithChildren) {
return <h1 className='text-2xl font-bold'>{children}</h1>;
return <h2 className='text-2xl font-bold'>{children}</h2>;
}

0 comments on commit 5f8e6db

Please sign in to comment.