Solution to Jamming Search not working (misssing step in instructions)

in SearchBar.js you should add an onClick event on the SEARCH-button which triggers the otherwise unused search method.
The method expects a parameter which is the text typed in the searchbox and stored in the SearchBar state.

<button onClick={() =>} className="SearchButton">SEARCH</button>

important that the method is binded in the class constructor and that search() correctly calling the props passed to it in App.js

This step is forgotten in the instructions and also not covered in the video tutorial. Hope this helps.


Thank you very much!

You are my saviour after spending hours to figure it out.

Initially when I searched for an item, I couldn’t get any results. Forgot to add an onClick event on the Search-button!

Thank you a lot.