diff --git a/components/carousel.tsx b/components/carousel.tsx index a4c58bd5d..286d4dfea 100644 --- a/components/carousel.tsx +++ b/components/carousel.tsx @@ -8,10 +8,13 @@ export async function Carousel() { if (!products?.length) return null; + // Purposefully duplicating products to make the carousel loop and not run out of products on wide screens. + const carouselProducts = [...products, ...products, ...products]; + return (