Skip to content

Commit 05958ca

Browse files
authored
Merge pull request #271 from codegouvfr/fix-stepper
fix(Stepper): title where not a the right place
2 parents 56926fc + 0cb2812 commit 05958ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stepper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ export const Stepper = memo(
5050
ref={ref}
5151
>
5252
<h2 className={cx(fr.cx("fr-stepper__title"), classes.title)}>
53+
{title}
5354
<span className={cx(fr.cx("fr-stepper__state"), classes.state)}>
5455
{t("progress", { currentStep, stepCount })}
5556
</span>
56-
{title}
5757
</h2>
5858
<div
5959
className={cx(fr.cx("fr-stepper__steps"), classes.steps)}

0 commit comments

Comments
 (0)