Need help understanding TypeError: this.props.tracks is undefined

Hey!

The most common cause I’ve seen for this error is that TrackList is rendered in two places, in the SearchResults and in the Playlist, however the instructions for the project only mention the former, so people often do not pass valid props into the second. Valid props need to be passed in every time the component is rendered. Double check that you’ve got valid props passed in (some made up example track will do fine) to both time it’s rendered.

If that doesn’t work or isn’t the case for you then please share the relevant JS files, formatting according to this: :slight_smile:

Happy coding!

2 Likes