fix expand button on compact ItemCard

This commit is contained in:
jeffvli
2025-12-24 03:17:39 -08:00
parent 51587fbb6b
commit 8e04f98e26
@@ -305,10 +305,11 @@ const CompactItemCard = ({
{isFavorite && <div className={styles.favoriteBadge} />}
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
<AnimatePresence>
{withControls && showControls && (
{withControls && showControls && data && (
<ItemCardControls
controls={controls}
enableExpansion={enableExpansion}
internalState={internalState}
item={data}
itemType={itemType}
type="compact"