diff --git a/web/modules/custom/riverside_pt/js/components/rpt-testimonials.js b/web/modules/custom/riverside_pt/js/components/rpt-testimonials.js index 1896a9e..797bb7a 100644 --- a/web/modules/custom/riverside_pt/js/components/rpt-testimonials.js +++ b/web/modules/custom/riverside_pt/js/components/rpt-testimonials.js @@ -35,7 +35,6 @@ const STEP = CARD_W + GAP; const TOTAL_W = TESTIMONIALS.length * CARD_W + (TESTIMONIALS.length - 1) * GAP; function Testimonials() { - const wrapRef = useRef(null); const containerRef = useRef(null); const trackRef = useRef(null); const [left, setLeft] = useState(0); @@ -103,9 +102,9 @@ function Testimonials() { var atEnd = !!containerRef.current && left <= -measureMax(); return html` -