Remove reactjkplayer's audioTitle, as it is not used and only causes warnings in the console

This commit is contained in:
Deluan 2020-11-25 15:34:22 -05:00 committed by Deluan Quintão
parent bc72f41180
commit 31d6508b1d
1 changed files with 0 additions and 5 deletions

View File

@ -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'),