Skip to content

Commit

Permalink
Update src/Card.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Garrone <[email protected]>
Signed-off-by: Maxime Dréau <[email protected]>
  • Loading branch information
totakoko and garronej authored Sep 4, 2024
1 parent 0ba748d commit e2359da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ export const Card = memo(
<div className={cx(fr.cx("fr-card__header"), classes.header)}>
<div className={cx(fr.cx("fr-card__img"), classes.img)}>
<img
className={cx(fr.cx("fr-responsive-img"), classes.imgTag)}
src={imageUrl}
alt={imageAlt}
{...nativeImgProps}
className={cx(fr.cx("fr-responsive-img"), classes.imgTag, nativeImgProps?.className)}
/>
</div>
{badge !== undefined && (
Expand Down

0 comments on commit e2359da

Please sign in to comment.