We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46824f commit b4194b4Copy full SHA for b4194b4
src/Modal.tsx
@@ -59,7 +59,7 @@ const Modal = memo(
59
: [buttons_props];
60
61
const { t } = useTranslation();
62
- const titleId= `fr-modal-title-${id}`;
+ const titleId = `fr-modal-title-${id}`;
63
return (
64
<dialog
65
aria-labelledby={titleId}
@@ -95,10 +95,7 @@ const Modal = memo(
95
</button>
96
</div>
97
<div className={fr.cx("fr-modal__content")}>
98
- <h1
99
- id={titleId}
100
- className={fr.cx("fr-modal__title")}
101
- >
+ <h1 id={titleId} className={fr.cx("fr-modal__title")}>
102
{iconId !== undefined && (
103
<span className={fr.cx(iconId, "fr-fi--lg")} />
104
)}
0 commit comments