Jamming Capstone project issue (Step 34)

On Step 34 of the Jamming project my react app breaks when mapping the ‘tracks’ props to instances of the Track component. All I see is a white page, dev tools doesn’t show any components as well - so nothing is being rendered.

The highlighted text is the issue - if I commet it out the app renders.

image

For reference here are the other component files

SearchResults:
image

App:

Does the console show any errors? Usually, when everything goes white, it’s caused by a huge error that’s printed in the console.

(forgot to update)

I used ‘.this’ in the renderFunction() for a component where ‘.this’ wasn’t needed.

1 Like