I\'m building a toy project to try and learn React Hooks. I\'m trying to search the Trefle API for data. The user provides a string, presses a button and triggers the API ca