Skip to content

Commit

Permalink
Merge branch 'fix_prefix_fontawesome_icon' into 12.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Apr 11, 2024
2 parents f0cf39a + a290ba7 commit 89e78f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/ItaliaTheme/Icons/FontAwesomeIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ const FontAwesomeIcon = (props) => {
prefixKey === 'fab'
? 'brands'
: prefixKey === 'far'
? 'regular'
: 'solid',
? 'regular'
: prefixKey != null
? prefixKey
: 'solid',
iconName,
];
};
Expand Down

0 comments on commit 89e78f5

Please sign in to comment.