Skip to content

Commit

Permalink
fix: carousels heading h1 to h2
Browse files Browse the repository at this point in the history
  • Loading branch information
melniiv committed May 29, 2024
1 parent 1a39f61 commit 58c9945
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helsinki-headless-cms",
"version": "1.0.0-alpha277",
"version": "1.0.0-alpha278",
"description": "React components for displaying Headless CMS content according to guidelines set by HDS",
"main": "cjs/index.js",
"module": "index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/core/collection/Collection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ export function Collection({
>
{title && (
<>
<h1
<h2
className={classNames(
styles.heading,
type === 'carousel' && styles.carousel,
)}
>
{title}
</h1>
</h2>
{showAllUrl && showAllText && (
<Link className={styles.showAll} href={showAllUrl}>
{showAllText}
Expand Down

0 comments on commit 58c9945

Please sign in to comment.