From 71c2f6c5d17d8e14d37be99bf565fbe3e96e90a5 Mon Sep 17 00:00:00 2001 From: StephDietz Date: Wed, 12 Jul 2023 15:59:42 -0500 Subject: [PATCH] center image gallery photos --- components/product/gallery.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/product/gallery.tsx b/components/product/gallery.tsx index 9b87d35d6..b0730a9d8 100644 --- a/components/product/gallery.tsx +++ b/components/product/gallery.tsx @@ -57,7 +57,7 @@ export function Gallery({ images }: { images: { src: string; altText: string }[] {images.length > 1 ? ( -
+
{images.map((image, index) => { const isActive = index === currentImage; return (