mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Fix image sizes & category filters (#939)
* Fix image height & missing query string * Update ProductView.tsx * Update ProductView.tsx * Update index.tsx * Remove unused path
This commit is contained in:
@@ -70,8 +70,8 @@ export default function Home({
|
||||
product={product}
|
||||
imgProps={{
|
||||
alt: product.name,
|
||||
width: i === 0 ? 1080 : 540,
|
||||
height: i === 0 ? 1080 : 540,
|
||||
width: i === 1 ? 1080 : 540,
|
||||
height: i === 1 ? 1080 : 540,
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
Reference in New Issue
Block a user