Skip to content

Commit

Permalink
fix: fix verticalitem icon not allowing to click item
Browse files Browse the repository at this point in the history
  • Loading branch information
HellWolf93 committed Oct 31, 2022
1 parent 31a90cd commit c2bd29b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/VerticalItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ function Item(props) {
tabIndex={resolveTabIndex()}
isSelected={isSelected}
>
<RenderIf isTrue={icon}>
<StyledIcon>{icon}</StyledIcon>
</RenderIf>
<ItemContent label={label} notification={notification} />
</StyledButton>
</RenderIf>
<RenderIf isTrue={icon}>
<StyledIcon>{icon}</StyledIcon>
</RenderIf>
</StyledLi>
);
}
Expand Down

0 comments on commit c2bd29b

Please sign in to comment.