Skip to content

Commit

Permalink
fix: [Eyebrow] display as <div> with ".h5" class instead of <h5>
Browse files Browse the repository at this point in the history
  • Loading branch information
meissadia committed Oct 12, 2023
1 parent 91ad005 commit de4ac73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Headings/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export const Heading = ({
DynamicHeading = 'h1';
classes.push('superheading');
} else if (type === 'eyebrow') {
DynamicHeading = 'h5';
classes.push('eyebrow');
DynamicHeading = 'div';
classes.push('h5 eyebrow');
} else DynamicHeading = `h${type}`;

return (
Expand Down

0 comments on commit de4ac73

Please sign in to comment.