mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
[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
|
||||
disabled={currentSong?.id === undefined}
|
||||
icon={
|
||||
status === PlayerStatus.PAUSED ? (
|
||||
<RiPlayFill size={20} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue