Fix Discord status with no Artists (#359)
This commit is contained in:
parent
11af31c539
commit
f24cf5a928
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ export const useDiscordRpc = () => {
|
||||||
largeImageText: currentSong?.album || 'Unknown album',
|
largeImageText: currentSong?.album || 'Unknown album',
|
||||||
smallImageKey: undefined,
|
smallImageKey: undefined,
|
||||||
smallImageText: currentStatus,
|
smallImageText: currentStatus,
|
||||||
state: artists && `By ${artists}`,
|
state: artists && `By ${artists}` || "Unknown artist",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (currentStatus === PlayerStatus.PLAYING) {
|
if (currentStatus === PlayerStatus.PLAYING) {
|
||||||
|
|
Reference in a new issue