Skip to content

Commit b4194b4

Browse files
committed
fmt
1 parent a46824f commit b4194b4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Modal.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const Modal = memo(
5959
: [buttons_props];
6060

6161
const { t } = useTranslation();
62-
const titleId= `fr-modal-title-${id}`;
62+
const titleId = `fr-modal-title-${id}`;
6363
return (
6464
<dialog
6565
aria-labelledby={titleId}
@@ -95,10 +95,7 @@ const Modal = memo(
9595
</button>
9696
</div>
9797
<div className={fr.cx("fr-modal__content")}>
98-
<h1
99-
id={titleId}
100-
className={fr.cx("fr-modal__title")}
101-
>
98+
<h1 id={titleId} className={fr.cx("fr-modal__title")}>
10299
{iconId !== undefined && (
103100
<span className={fr.cx(iconId, "fr-fi--lg")} />
104101
)}

0 commit comments

Comments
 (0)