Skip to content

🎧 Your Personal Streaming Service

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

Deluan31d6508b1d4f
diff --git a/ui/src/audioplayer/Player.js b/ui/src/audioplayer/Player.js
index d411c5052..9a4865747 100644
--- a/ui/src/audioplayer/Player.js
+++ b/ui/src/audioplayer/Player.js
@@ -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'),