chore: refacto

This commit is contained in:
2026-04-20 19:41:52 +02:00
parent 5fc52c72ee
commit 2e9827af98
46 changed files with 497 additions and 648 deletions
@@ -240,7 +240,7 @@ function ProductDetail() {
<div className="product-detail-content">
<div className={`product-image-section ${isOutOfStock ? "out-of-stock" : ""}`}>
<img
src={product.image || ""}
src={product.media?.find(m => m.type === "image")?.url || ""}
alt={product.name}
className="product-detail-image"
/>