We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfaef43 commit be0f7cfCopy full SHA for be0f7cf
src/components/content/ContentView.jsx
@@ -944,10 +944,8 @@ const ContentView = ({
944
contextUri = `spotify:album:${contentId}`;
945
success = await playTrack(track.uri, contextUri);
946
} else if (contentType === "artist") {
947
- uris = tracks.filter((t) => t && t.uri).map((t) => t.uri);
948
- const startIndex = index || 0;
949
- uris = uris.slice(startIndex).concat(uris.slice(0, startIndex));
950
- success = await playTrack(track.uri, null, uris);
+ contextUri = `spotify:artist:${contentId}`;
+ success = await playTrack(track.uri, contextUri);
951
} else if (contentType === "show") {
952
contextUri = `spotify:show:${contentId}`;
953
0 commit comments