prevent item card from using default rows if none specified

This commit is contained in:
jeffvli
2025-11-22 14:22:34 -08:00
parent 2269eee8cc
commit 73551847fb
@@ -62,8 +62,7 @@ export const ItemCard = ({
withControls,
}: ItemCardProps) => {
const imageUrl = getImageUrl(data);
const defaultRows = getDataRows();
const rows = providedRows && providedRows.length > 0 ? providedRows : defaultRows;
const rows = providedRows || [];
switch (type) {
case 'compact':