From 8ddb3b49117d60f4e389161b356a12f3355b5a78 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Thu, 25 Jan 2024 14:51:22 +0700
Subject: Add square ratio on product image

---
 src/lib/product/components/ProductCard.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/product/components/ProductCard.jsx')

diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 0b42d28a..1cec0804 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -18,7 +18,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
   })
 
   const image = useMemo(() => {
-    if (product.image) return product.image + '?watermark=true'
+    if (product.image) return product.image + '?ratio=square'
     return '/images/noimage.jpeg'
   }, [product.image])
 
-- 
cgit v1.2.3

