[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
No known key found for this signature in database
GPG Key ID: 18D2767419676C87

View File

@ -219,6 +219,7 @@ export const CenterControls = ({ playersRef }: CenterControlsProps) => {
/>
)}
<PlayerButton
disabled={currentSong?.id === undefined}
icon={
status === PlayerStatus.PAUSED ? (
<RiPlayFill size={20} />