Improve conditional check

This commit is contained in:
SrGooglo 2025-05-13 12:48:34 +00:00
parent b44176661f
commit 9d84e776d0

View File

@ -84,7 +84,7 @@ const PlayerButton = (props) => {
} }
}, [currentManifest]) }, [currentManifest])
const isPlaying = player?.playback_status === "playing" ?? false const isPlaying = player && player?.playback_status === "playing"
return ( return (
<div <div