Skip to content

Commit

Permalink
fix(CompositeBar): problem with not working onItemClick prop (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
js2me authored Jul 26, 2023
1 parent b1b02ba commit 59d4c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CompositeBar/CompositeBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const CompositeBarView: FC<CompositeBarViewProps> = ({
item={item}
onMouseEnter={onMouseEnterByIndex(itemIndex)}
onMouseLeave={onMouseLeave}
onItemClick={onItemClickByIndex}
onItemClick={onItemClickByIndex(itemIndex)}
compact={compact}
collapseItems={collapseItems}
enableTooltip={!multipleTooltip}
Expand Down

0 comments on commit 59d4c3d

Please sign in to comment.