Skip to content

Commit

Permalink
fix(MI-19): fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-p44 committed Nov 28, 2023
1 parent 12a634b commit 2f0532d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/MenuGroup/MenuGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export const MenuGroup = React.forwardRef((props, forwardedRef) => {
<MenuItem
{...itemProps}
endIcon={<StyledIcon {...iconProps} isExpanded={isExpanded} />}
isSelected={isSelected && !isExpanded} // Need to highlight menu group only if it not expanded
label={label}
labelProps={labelProps}
startIcon={startIcon}
onClick={handleExpand}
isSelected={isSelected && !isExpanded} // Need to highlight menu group only if it not expanded
/>
<MenuGroupProvider value={{ isGrouped: true }}>
<Collapse appear unmountOnExit duration={100} in={isExpanded}>
Expand Down

0 comments on commit 2f0532d

Please sign in to comment.