[bugfix]: disable play button when queue is empty

This commit is contained in:
Kendall Garner
2024-01-24 21:35:58 -08:00
parent 362a88b6bc
commit 527e6a76b5
@@ -219,6 +219,7 @@ export const CenterControls = ({ playersRef }: CenterControlsProps) => {
/> />
)} )}
<PlayerButton <PlayerButton
disabled={currentSong?.id === undefined}
icon={ icon={
status === PlayerStatus.PAUSED ? ( status === PlayerStatus.PAUSED ? (
<RiPlayFill size={20} /> <RiPlayFill size={20} />