summaryrefslogtreecommitdiff
path: root/src-migrate
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate')
-rw-r--r--src-migrate/modules/product-card/components/ProductCard.tsx2
-rw-r--r--src-migrate/modules/product-detail/components/Image.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src-migrate/modules/product-card/components/ProductCard.tsx b/src-migrate/modules/product-card/components/ProductCard.tsx
index 34f6d6b1..8487cd94 100644
--- a/src-migrate/modules/product-card/components/ProductCard.tsx
+++ b/src-migrate/modules/product-card/components/ProductCard.tsx
@@ -21,7 +21,7 @@ const ProductCard = ({ product, layout = 'vertical' }: Props) => {
}
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])
diff --git a/src-migrate/modules/product-detail/components/Image.tsx b/src-migrate/modules/product-detail/components/Image.tsx
index fffe1480..b69cc87f 100644
--- a/src-migrate/modules/product-detail/components/Image.tsx
+++ b/src-migrate/modules/product-detail/components/Image.tsx
@@ -36,7 +36,7 @@ const Image = ({ product }: Props) => {
const duration = moment.duration(count, 'seconds')
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])