diff --git a/src/components/library/ArtistView.tsx b/src/components/library/ArtistView.tsx index 2c279c3..b555fef 100644 --- a/src/components/library/ArtistView.tsx +++ b/src/components/library/ArtistView.tsx @@ -132,7 +132,8 @@ const ArtistView = ({ ...rest }: any) => { {artistInfo.biography ?.replace(/<[^>]*>/, '') - .replace('Read more on Last.fm', '') !== '' + .replace('Read more on Last.fm', '') + ?.trim() !== '' ? `${artistInfo.biography ?.replace(/<[^>]*>/, '') .replace('Read more on Last.fm', '')}`