mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
fix missing AnimatePresence on ItemCard
This commit is contained in:
@@ -568,6 +568,7 @@ const PosterItemCard = ({
|
|||||||
className={clsx(styles.image, { [styles.isRound]: isRound })}
|
className={clsx(styles.image, { [styles.isRound]: isRound })}
|
||||||
src={imageUrl}
|
src={imageUrl}
|
||||||
/>
|
/>
|
||||||
|
<AnimatePresence>
|
||||||
{withControls && showControls && data && (
|
{withControls && showControls && data && (
|
||||||
<ItemCardControls
|
<ItemCardControls
|
||||||
controls={controls}
|
controls={controls}
|
||||||
@@ -577,6 +578,7 @@ const PosterItemCard = ({
|
|||||||
type="poster"
|
type="poster"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
</AnimatePresence>
|
||||||
</div>
|
</div>
|
||||||
{data && (
|
{data && (
|
||||||
<div className={styles.detailContainer}>
|
<div className={styles.detailContainer}>
|
||||||
|
|||||||
Reference in New Issue
Block a user