Remove reactjkplayer's audioTitle, as it is not used and only causes warnings in the console
This commit is contained in:
parent
bc72f41180
commit
31d6508b1d
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue