Skip to content

Commit

Permalink
Removed stale code
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewMusgrave committed Jan 6, 2020
1 parent 7320c7c commit b9b5651
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ export function Tooltip({
const mouseEntered = useRef(false);

useEffect(() => {
if (activatorContainer == null) {
return;
}

const firstFocusable = activatorContainer.current
? findFirstFocusableNode(activatorContainer.current)
: null;
Expand Down Expand Up @@ -106,7 +102,6 @@ export function Tooltip({
activatorContainerRef.current = node;
}

// maybe add pre focus and pre blur????
function handleMouseEnter() {
mouseEntered.current = true;
handleFocus();
Expand Down

0 comments on commit b9b5651

Please sign in to comment.