[bugfix]: disable play button when queue is empty
This commit is contained in:
parent
362a88b6bc
commit
527e6a76b5
1 changed files with 1 additions and 0 deletions
|
@ -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} />
|
||||||
|
|
Reference in a new issue