smonette/jammming

Saving playlists to user account

Opened this issue · 0 comments

https://github.com/smonette/jammming/blob/master/src/Components/App/App.js#L51-L56

Consider using arrow functions' implicit return inside of the .map to get all of the track URIs in a single, concise line of code.

Use .then() to reset the Playlist's state (clear this.state.playlistName and this.state.playlistTracks) after the save playlist request is resolved.