mirror of
https://github.com/navidrome/navidrome.git
synced 2025-08-10 00:52:20 +00:00
Remove reactjkplayer's audioTitle, as it is not used and only causes warnings in the console
This commit is contained in:
@@ -41,10 +41,6 @@ const useStyle = makeStyles((theme) => ({
|
||||
|
||||
let audioInstance = null
|
||||
|
||||
const audioTitle = (audioInfo) => {
|
||||
return audioInfo.name ? `${audioInfo.name} - ${audioInfo.singer}` : ''
|
||||
}
|
||||
|
||||
const AudioTitle = ({ audioInfo, className }) => {
|
||||
if (!audioInfo.name) {
|
||||
return ''
|
||||
@@ -167,7 +163,6 @@ const Player = () => {
|
||||
destroyText: translate('player.destroyText'),
|
||||
downloadText: translate('player.downloadText'),
|
||||
removeAudioListsText: translate('player.removeAudioListsText'),
|
||||
audioTitle: audioTitle,
|
||||
clickToDeleteText: (name) =>
|
||||
translate('player.clickToDeleteText', { name }),
|
||||
emptyLyricText: translate('player.emptyLyricText'),
|
||||
|
||||
Reference in New Issue
Block a user