mirror of
https://github.com/vercel/commerce.git
synced 2025-04-28 22:07:51 +00:00
Fix
This commit is contained in:
parent
281834abd5
commit
92f4633666
@ -8,7 +8,6 @@ export async function Carousel() {
|
|||||||
|
|
||||||
if (!products?.length) return null;
|
if (!products?.length) return null;
|
||||||
|
|
||||||
// test
|
|
||||||
// Purposefully duplicating products to make the carousel loop and not run out of products on wide screens.
|
// Purposefully duplicating products to make the carousel loop and not run out of products on wide screens.
|
||||||
const carouselProducts = [...products, ...products, ...products];
|
const carouselProducts = [...products, ...products, ...products];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user