From b7287e807655f5de4c8a4cb07a095fd03799e289 Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:56:07 -0700 Subject: [PATCH] Clean up carousel: remove debug border, drop unused wrapRef Co-Authored-By: Claude Sonnet 4.6 --- .../custom/riverside_pt/js/components/rpt-testimonials.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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` -
+
-
+

Testimonials