Skip to content

Commit

Permalink
fix(key-value-card): avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Nov 22, 2023
1 parent eeab671 commit 6f24a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/card/key-value-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function KeyValueCard({
</p>
)}
<div className="fr-card__start">
<p className="fr-card__detail fr-text--sm fr-mb-0">
<div className="fr-card__detail fr-text--sm fr-mb-0">
{icon && <Icon name={icon} size="1x" />}
{linkTo && <a href={linkTo} target="_blank" rel="noopener noreferrer">{cardKey}</a>}
{linkIn && (
Expand All @@ -57,7 +57,7 @@ export default function KeyValueCard({
</p>
)}
{inactive && <Badge isSmall text="inactif" />}
</p>
</div>
</div>
{editMode && onEdit && (
<Button
Expand Down

0 comments on commit 6f24a57

Please sign in to comment.