From 77ff7ff4d4d846a85ea3b5386d3b27fbd3dbb2c4 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 19:40:12 +0000 Subject: [PATCH] Update src/components/cardStack/layouts/carousels/ButtonCarousel.tsx --- src/components/cardStack/layouts/carousels/ButtonCarousel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/cardStack/layouts/carousels/ButtonCarousel.tsx b/src/components/cardStack/layouts/carousels/ButtonCarousel.tsx index 450905c..d82d917 100644 --- a/src/components/cardStack/layouts/carousels/ButtonCarousel.tsx +++ b/src/components/cardStack/layouts/carousels/ButtonCarousel.tsx @@ -6,10 +6,10 @@ import { useCardAnimation } from '@/components/cardStack/hooks/useCardAnimation' const ButtonCarousel: React.FC = ({ items, className = '' }) => { const animation = useCardAnimation(); - const itemRefs = React.useRef<(HTMLElement | null)[]>([]); + const itemRefs = React.useRef<(HTMLDivElement | null)[]>([]); return ( -
+
} className={`button-carousel ${className}`}> {items.map((item, index) => (
{ if (el) itemRefs.current[index] = el; }} className="carousel-item"> {item.title}