Skip to content

Commit

Permalink
fix(Menu): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
LexSwed committed Oct 3, 2020
1 parent bf3ae97 commit 36321dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/Menu/MenuList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ function useMenuProps({ placement = 'bottom-start', offset = 8, ...props }: Prop
const selectItem = useCallback(
(li: HTMLLIElement) => {
if (!onAction) return;
console.log(stateRef.current.items.get(li));
const action = stateRef.current.items.get(li)?.action;
if (action) {
onAction(action);
Expand Down

0 comments on commit 36321dc

Please sign in to comment.