fix: optimize image loading on homepage

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-06-11 20:28:07 +07:00
parent 682f2ecc63
commit 0471e07633
5 changed files with 7 additions and 5 deletions

View File

@@ -18,7 +18,8 @@ const ManufacturerItem = ({
<ImageDisplay
fileId={manufacturer.logo as string}
title={manufacturer.display_name || 'Logo'}
className="aspect-2 h-auto w-auto"
className="aspect-1 h-7"
unoptimized
/>
</Suspense>
</div>