mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-18 04:47:42 +03:00
Simplify handle
This commit is contained in:
parent
de693b8206
commit
83b8fa14c6
@ -142,9 +142,7 @@ const Player = () => {
|
||||
onAudioPlay={OnAudioPlay}
|
||||
onAudioPause={onAudioPause}
|
||||
onAudioEnded={onAudioEnded}
|
||||
onPlayIndexChange={(playIndex) => {
|
||||
setPlayIndex(playIndex)
|
||||
}}
|
||||
onPlayIndexChange={setPlayIndex}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user