fix: lint formatting for seed data and item detail page
All checks were successful
CI / ci (push) Successful in 1m14s
CI / e2e (push) Has been skipped
CI / deploy (push) Successful in 17s

This commit is contained in:
2026-04-13 14:03:25 +02:00
parent ba13fa8ded
commit 80f4d1d9ae
2 changed files with 192 additions and 58 deletions

View File

@@ -315,35 +315,33 @@ function ItemDetail() {
/>
</div>
) : (
<>
<div
className="aspect-[4/3] rounded-xl overflow-hidden mb-2"
style={{
backgroundColor: imageUrl
? imageContainerBg(item.dominantColor)
: undefined,
}}
>
{imageUrl ? (
<GearImage
src={imageUrl}
alt={item.name}
dominantColor={item.dominantColor}
cropZoom={item.cropZoom}
cropX={item.cropX}
cropY={item.cropY}
<div
className="aspect-[4/3] rounded-xl overflow-hidden mb-2"
style={{
backgroundColor: imageUrl
? imageContainerBg(item.dominantColor)
: undefined,
}}
>
{imageUrl ? (
<GearImage
src={imageUrl}
alt={item.name}
dominantColor={item.dominantColor}
cropZoom={item.cropZoom}
cropX={item.cropX}
cropY={item.cropY}
/>
) : (
<div className="w-full h-full bg-gray-50 flex flex-col items-center justify-center">
<LucideIcon
name={item.categoryIcon}
size={64}
className="text-gray-300"
/>
) : (
<div className="w-full h-full bg-gray-50 flex flex-col items-center justify-center">
<LucideIcon
name={item.categoryIcon}
size={64}
className="text-gray-300"
/>
</div>
)}
</div>
</>
</div>
)}
</div>
)}
{/* Header / Name */}