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
When you save a playlist, the playlistTracks and playlistName should both be reset. searchResults should probably not be reset since the search could still be useful to the next playlist.
Rather than using a defaultValue attribute, just use a value attribute. That way the value of the form will always reflect what is passed down via props.
The text was updated successfully, but these errors were encountered:
https://github.com/drum-IT/jamming/blob/master/src/Components/App/App.js#L52-L56
When you save a playlist, the
playlistTracks
andplaylistName
should both be reset.searchResults
should probably not be reset since the search could still be useful to the next playlist.https://github.com/drum-IT/jamming/blob/master/src/Components/Playlist/Playlist.js#L17
Rather than using a
defaultValue
attribute, just use avalue
attribute. That way the value of the form will always reflect what is passed down via props.The text was updated successfully, but these errors were encountered: