Skip to content

Commit

Permalink
Merge pull request #784 from vrk-kpa/hotfix/link-list-item-icon
Browse files Browse the repository at this point in the history
[Hotfix] LinkListItem icon rendering
  • Loading branch information
riitasointi authored Oct 10, 2023
2 parents aa1ecb6 + d396c35 commit fad5008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "suomifi-ui-components",
"version": "12.0.0",
"version": "12.0.1",
"description": "Suomi.fi UI component library",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/core/Link/LinkListItem/LinkListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const StyledLinkListItem = styled(
<HtmlLi {...passProps} className={classnames(baseClassName, className)}>
<HtmlSpan className={listLinkClassNames.icon}>
{!!icon ? (
{ icon }
icon
) : (
<IconChevronRight color={theme.colors.highlightBase} />
)}
Expand Down

0 comments on commit fad5008

Please sign in to comment.