Since axios unwraps the reponse by default, I think it is not necessary to write response = data.results. You should be able to use just response = data?
Or am I missing something here?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Manuel,
Thanks for the articles.
Since axios unwraps the reponse by default, I think it is not necessary to write
response = data.results
. You should be able to use justresponse = data
?Or am I missing something here?