fix(F-03): pass imageUrl and crop/color props to ItemCard in CollectionView
The flat list was missing dominantColor/crop props, and the grouped view was also missing imageUrl entirely — causing images not to render on collection cards. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -231,6 +231,10 @@ export function CollectionView() {
|
|||||||
imageUrl={item.imageUrl}
|
imageUrl={item.imageUrl}
|
||||||
productUrl={item.productUrl}
|
productUrl={item.productUrl}
|
||||||
brand={item.brand}
|
brand={item.brand}
|
||||||
|
dominantColor={item.dominantColor}
|
||||||
|
cropZoom={item.cropZoom}
|
||||||
|
cropX={item.cropX}
|
||||||
|
cropY={item.cropY}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
@@ -264,8 +268,13 @@ export function CollectionView() {
|
|||||||
categoryName={categoryName}
|
categoryName={categoryName}
|
||||||
categoryIcon={categoryIcon}
|
categoryIcon={categoryIcon}
|
||||||
imageFilename={item.imageFilename}
|
imageFilename={item.imageFilename}
|
||||||
|
imageUrl={item.imageUrl}
|
||||||
productUrl={item.productUrl}
|
productUrl={item.productUrl}
|
||||||
brand={item.brand}
|
brand={item.brand}
|
||||||
|
dominantColor={item.dominantColor}
|
||||||
|
cropZoom={item.cropZoom}
|
||||||
|
cropX={item.cropX}
|
||||||
|
cropY={item.cropY}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user