You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For saving a playlist, you'd actually want an array of just the track URI's (ie. only the id values for each track here). In your App component's savePlaylist method, you could use .map() to help map this.state.playlistTracks to an array of just the URI's, and then pass that in as the second argument to Spotify.savePlaylist.
The text was updated successfully, but these errors were encountered:
For saving a playlist, you'd actually want an array of just the track URI's (ie. only the
id
values for each track here). In your App component's savePlaylist method, you could use .map() to help mapthis.state.playlistTracks
to an array of just the URI's, and then pass that in as the second argument to Spotify.savePlaylist.The text was updated successfully, but these errors were encountered: