We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bwa-u3-jammming-prj/src/Components/App/App.js
Lines 26 to 40 in ca0acf6
Great job on your add and remove track. Both are doing what they should. For your removeTrack, try doing something like this:
removeTrack
removeTrack(track) { const newPlaylist = this.state.playlistTracks.filter(savedTrack => savedTrack.id !== track.id); this.setState({playlistTracks : newPlaylist}); }
I basically got rid of the first line you had.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bwa-u3-jammming-prj/src/Components/App/App.js
Lines 26 to 40 in ca0acf6
Great job on your add and remove track. Both are doing what they should. For your
removeTrack
, try doing something like this:I basically got rid of the first line you had.
The text was updated successfully, but these errors were encountered: