diff --git a/components/product/gallery.tsx b/components/product/gallery.tsx index f54d6015c..3bbb8fd6d 100644 --- a/components/product/gallery.tsx +++ b/components/product/gallery.tsx @@ -16,7 +16,7 @@ export function Gallery({ images }: { images: { src: string; altText: string }[] 'h-full px-6 transition-all ease-in-out hover:scale-110 hover:text-black dark:hover:text-white flex items-center justify-center'; return ( - <> +
{images[imageIndex] && (
- ); - })} - - + return ( + + ); + })} + + + )); }