mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
fix expand button on compact ItemCard
This commit is contained in:
@@ -305,10 +305,11 @@ const CompactItemCard = ({
|
|||||||
{isFavorite && <div className={styles.favoriteBadge} />}
|
{isFavorite && <div className={styles.favoriteBadge} />}
|
||||||
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
|
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
|
||||||
<AnimatePresence>
|
<AnimatePresence>
|
||||||
{withControls && showControls && (
|
{withControls && showControls && data && (
|
||||||
<ItemCardControls
|
<ItemCardControls
|
||||||
controls={controls}
|
controls={controls}
|
||||||
enableExpansion={enableExpansion}
|
enableExpansion={enableExpansion}
|
||||||
|
internalState={internalState}
|
||||||
item={data}
|
item={data}
|
||||||
itemType={itemType}
|
itemType={itemType}
|
||||||
type="compact"
|
type="compact"
|
||||||
|
|||||||
Reference in New Issue
Block a user