Skip to content

Commit

Permalink
removed fr-footer__partners-main if unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
enguerranws committed Jun 6, 2024
1 parent 4c41367 commit f3a19df
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,14 @@ export const Footer = memo(
classes.partnersLogos
)}
>
<div
className={cx(
fr.cx("fr-footer__partners-main"),
classes.partnersMain
)}
>
{mainPartnersLogo !== undefined &&
(() => {
{mainPartnersLogo !== undefined && (
<div
className={cx(
fr.cx("fr-footer__partners-main"),
classes.partnersMain
)}
>
{(() => {
const children = (
<img
alt={mainPartnersLogo.alt}
Expand Down Expand Up @@ -409,7 +409,8 @@ export const Footer = memo(
children
);
})()}
</div>
</div>
)}
{subPartnersLogos.length !== 0 && (
<div
className={cx(
Expand Down

0 comments on commit f3a19df

Please sign in to comment.