Skip to content

Commit

Permalink
fix: fix ModalHeading from h1 to h2 (#2098)
Browse files Browse the repository at this point in the history
  • Loading branch information
burakukula committed Jun 22, 2022
1 parent f94572d commit 5ab7d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/modal/src/ModalHeader/ModalHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const ModalHeader = ({
alignItems="center"
justifyContent="space-between"
>
<Subheading as="h1" isTruncated marginBottom="none">
<Subheading as="h2" isTruncated marginBottom="none">
{title}
</Subheading>
{onClose && (
Expand Down

1 comment on commit 5ab7d2c

@vercel
Copy link

@vercel vercel bot commented on 5ab7d2c Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.