Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski committed Nov 29, 2023
1 parent f2f830c commit 24da4e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/ContextualMenu/ContextualMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ const ContextualMenu = <L,>({

const onResize = useCallback(
(evt) => {
console.log("on resize!");
const parent = getPositionNode(wrapper.current, positionNode);
if (parent && !getPositionNodeVisible(parent)) {
// Hide the menu if the item has become hidden. This might happen in
Expand All @@ -283,7 +282,6 @@ const ContextualMenu = <L,>({
if (parent && e.target.contains(parent)) {
// Update the coordinates so that the menu stays relative to the
// toggle button.
console.log("update position!");
updatePositionCoords();
}
},
Expand Down

0 comments on commit 24da4e4

Please sign in to comment.