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:
Catalin Pinte
2023-01-26 16:19:19 +02:00
committed by GitHub
parent e66cd12f4c
commit 252355717d
5 changed files with 11 additions and 12 deletions

View File

@@ -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,
}}
/>
))}