mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
Improve conditional check
This commit is contained in:
parent
b44176661f
commit
9d84e776d0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user