Fix ref issue

This commit is contained in:
jeffvli 2023-06-09 00:09:46 -07:00 committed by Jeff
parent 14a6766072
commit 01608fa875
3 changed files with 51 additions and 59 deletions

View file

@ -6,10 +6,8 @@ export const FullScreenOverlay = () => {
const { expanded: isFullScreenPlayerExpanded } = useFullScreenPlayerStore();
return (
<>
<AnimatePresence initial={false}>
{isFullScreenPlayerExpanded && <FullScreenPlayer />}
</AnimatePresence>
</>
<AnimatePresence initial={false}>
{isFullScreenPlayerExpanded && <FullScreenPlayer />}
</AnimatePresence>
);
};