fix: show global player when paused

This commit is contained in:
jinhojang6 2023-08-28 23:18:49 +09:00
parent e194c6dafd
commit 94464dcdf2
1 changed files with 4 additions and 6 deletions

View File

@ -68,12 +68,10 @@ const EpisodePlayer = ({
}))
}
} else {
if (state.value.playing) {
state.set((prev) => ({
...prev,
isEnabled: true,
}))
}
state.set((prev) => ({
...prev,
isEnabled: true,
}))
}
})
observer.observe(playerContainerRef.current as any)