feat:  Made the updateQuery function more stable by:
feat:  Made the updateQuery function more stable by:

* Removing extra whitespace from the query
* Only hit the API if query has a length greater than zero

romarioraffington/react-mybooks,romarioraffington/react-mybooks