Skip to content

Commit 6235c46

Browse files
committed
Merge pull request #3253 from r0hit-gupta/heading-fix
Change heading | Issue #3245
1 parent 959907f commit 6235c46

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

__tests__/shared/components/__snapshots__/SortingSelectBar.jsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ exports[`Matches shallow shapshot 1`] = `
44
<div
55
className="src-shared-components-SortingSelectBar-___style__sortingBar___3esqf"
66
>
7-
<h1
7+
<h2
88
className="src-shared-components-SortingSelectBar-___style__title___36eG5"
99
>
1010
title
11-
</h1>
11+
</h2>
1212
<div
1313
className="src-shared-components-SortingSelectBar-___style__view-options-toggle-container___1N4rY"
1414
>
@@ -80,10 +80,10 @@ exports[`Matches shallow shapshot 2`] = `
8080
<div
8181
className="src-shared-components-SortingSelectBar-___style__sortingBar___3esqf"
8282
>
83-
<h1
83+
<h2
8484
className="src-shared-components-SortingSelectBar-___style__title___36eG5"
8585
>
8686
title
87-
</h1>
87+
</h2>
8888
</div>
8989
`;

src/shared/components/SortingSelectBar/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export default function SortingSelectBar({
99
}) {
1010
return (
1111
<div styleName="sortingBar">
12-
<h1 styleName="title">
12+
<h2 styleName="title">
1313
{title}
14-
</h1>
14+
</h2>
1515
{
1616
options ? (
1717
<div styleName="view-options-toggle-container">

src/shared/components/challenge-listing/ChallengeCard/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function ChallengeCard({
131131
to={challengeDetailLink}
132132
styleName="challenge-title"
133133
openNewTab={openChallengesInNewTabs}
134-
><h3>{challenge.name}</h3>
134+
><p>{challenge.name}</p>
135135
</Link>
136136
<div styleName="details-footer">
137137
<span styleName="date">

0 commit comments

Comments
 (0)