mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
Signed-off-by: floatlesss <117862164+floatlesss@users.noreply.github.com>
refactor(unused params): prefix unused params with underscore - 4744
This commit is contained in:
parent
c3cdba5a85
commit
16a46afe3d
@ -49,21 +49,21 @@ const SharePlayer = () => {
|
||||
}, [])
|
||||
|
||||
const onAudioPlay = useCallback(
|
||||
(info) => {
|
||||
(_info) => {
|
||||
updateMediaSessionPlaybackState('playing')
|
||||
},
|
||||
[updateMediaSessionPlaybackState],
|
||||
)
|
||||
|
||||
const onAudioPause = useCallback(
|
||||
(info) => {
|
||||
(_info) => {
|
||||
updateMediaSessionPlaybackState('paused')
|
||||
},
|
||||
[updateMediaSessionPlaybackState],
|
||||
)
|
||||
|
||||
const onAudioEnded = useCallback(
|
||||
(currentPlayId, audioLists, info) => {
|
||||
(_currentPlayId, _audioLists, _info) => {
|
||||
updateMediaSessionPlaybackState('none')
|
||||
},
|
||||
[updateMediaSessionPlaybackState],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user