It works when I just put in the array directly but not when I use this.props.tracks
assume soemthing is going wrong when passing the props down but it appears to be present when I check on dev tools. Any ideas? Hereare the App and searchResults componenets:
Same problem here. I noticed it’s because this.props.tracks is undefined. I have been struggling to have the props inherited by TrackList. In React devtools, the props show tracks: undefined. Although, I did manage to get the props to inherit properly before. It seems finicky… I will report back if/when I find a solution.
I can’t fully remember but I think you also use the tracks in a different component and this is why it doesn’t work. I think if you complete the next few steps it starts working again.