fixed carousel in search
This commit is contained in:
@@ -63,7 +63,7 @@ export default function CategoryProductsGrid({
|
||||
product.old_price_amount ? parseFloat(product.old_price_amount) : null
|
||||
}
|
||||
struct_price_text={`${product.price_amount} TMT`}
|
||||
images={[product.media?.[0]?.images_400x400]}
|
||||
images={product.media?.map((m) => m.images_400x400) ?? []}
|
||||
stock={product.stock}
|
||||
button={true}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user