mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 06:27:09 +01:00
[bugfix]: disable play button when queue is empty
This commit is contained in:
parent
362a88b6bc
commit
527e6a76b5
@ -219,6 +219,7 @@ export const CenterControls = ({ playersRef }: CenterControlsProps) => {
|
||||
/>
|
||||
)}
|
||||
<PlayerButton
|
||||
disabled={currentSong?.id === undefined}
|
||||
icon={
|
||||
status === PlayerStatus.PAUSED ? (
|
||||
<RiPlayFill size={20} />
|
||||
|
Loading…
Reference in New Issue
Block a user