diff --git a/src/components/PreverbToolTip.js b/src/components/PreverbToolTip.js index 228b0ee..31f29ad 100644 --- a/src/components/PreverbToolTip.js +++ b/src/components/PreverbToolTip.js @@ -1,5 +1,4 @@ import React, {useEffect, useState} from "react"; -import { default as logo } from './info-circle-solid.svg'; import {Tooltip, OverlayTrigger, Button} from "react-bootstrap"; import {faVolumeUp, faInfoCircle, faBorderNone} from '@fortawesome/free-solid-svg-icons' import {Link, Redirect} from "react-router-dom"; @@ -55,7 +54,6 @@ const PreverbToolTip = (props) => { onMouseDown={(e)=> {e.preventDefault()}} onMouseLeave={() => setPreverbShowTooltip(false)} onMouseEnter={() => setPreverbShowTooltip(true)} - onClick={() => handleInfoLinkClick()} data-cy="preverbButton"> diff --git a/src/components/SearchSection.js b/src/components/SearchSection.js index 1c5f71c..c1dc7c4 100644 --- a/src/components/SearchSection.js +++ b/src/components/SearchSection.js @@ -198,13 +198,6 @@ const SearchSection = (props) => { return []; } } - let handlePreverbMouseEnter = () => { - setPreverbShowTooltip(true); - }; - - let handlePreverbMouseLeave = () => { - setPreverbShowTooltip(false); - }; //Information BTN tooltip(Here is where the info is to be typed out) let [settings, setSettings] = useState(JSON.parse(window.localStorage.getItem("settings"))); window.addEventListener("settings", () => {