0👍
✅
Most likely this
is not bound, which would explain the error message you are getting. Check how can I retrieve a reference to this in a promise.then ()?
0👍
You have not defined axiosResponse
anywhere. All you have declared is the function parameter named response
. hence you get the error message you described.
Source:stackexchange.com