mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 10:53:33 +00:00
Fix ref issue
This commit is contained in:
parent
14a6766072
commit
01608fa875
3 changed files with 51 additions and 59 deletions
|
|
@ -152,7 +152,7 @@ export const FullScreenPlayerImage = () => {
|
|||
<ImageContainer>
|
||||
<AnimatePresence
|
||||
initial={false}
|
||||
mode="popLayout"
|
||||
mode="sync"
|
||||
>
|
||||
{imageState.current === 0 && (
|
||||
<ImageWithPlaceholder
|
||||
|
|
@ -168,11 +168,7 @@ export const FullScreenPlayerImage = () => {
|
|||
variants={imageVariants}
|
||||
/>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
<AnimatePresence
|
||||
initial={false}
|
||||
mode="popLayout"
|
||||
>
|
||||
|
||||
{imageState.current === 1 && (
|
||||
<ImageWithPlaceholder
|
||||
key={imageKey}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue