mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-16 16:34:24 +02:00
[bugfix]: disable play button when queue is empty
This commit is contained in:
@@ -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 New Issue
Block a user