diff --git a/site/gatsby-site/src/components/reports/ReportCard.js b/site/gatsby-site/src/components/reports/ReportCard.js index 876c1e73b4..c63be93492 100644 --- a/site/gatsby-site/src/components/reports/ReportCard.js +++ b/site/gatsby-site/src/components/reports/ReportCard.js @@ -14,7 +14,6 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faQuestionCircle } from '@fortawesome/free-solid-svg-icons'; import { hasVariantData } from 'utils/variants'; import { format, fromUnixTime } from 'date-fns'; -import { Link } from 'gatsby'; const ReportCard = ({ item, @@ -47,6 +46,12 @@ const ReportCard = ({ } }; + const toggleReadMoreKeyDown = (e) => { + if (e.key === 'Enter') { + toggleReadMore(); + } + }; + const [isBottomReached, setIsBottomReached] = useState(false); useEffect(() => { @@ -138,10 +143,14 @@ const ReportCard = ({