export const getTrackArtist = (track: TrackType) => _.isString(track?.artist)
  ? track?.artist
  : track?.artist?.name;