Skip to content

Commit

Permalink
chore: only show icon when exist
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoformiga committed Sep 10, 2024
1 parent e34bce9 commit fcb081c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ function RegionModal({
children: (
<>
{idkPostalCodeLinkText}
{!!idkPostalCodeLinkIcon ? (
idkPostalCodeLinkIcon
) : (
{idkPostalCodeLinkIcon && (
<Icon
name={idkPostalCodeLinkIcon}
aria-label={idkPostalCodeLinkIconAlt}
Expand Down

0 comments on commit fcb081c

Please sign in to comment.