You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I change recently to Axios and I can't figure why the this isn't "working" properly inside the promise.
`let all = {
method: 'POST',
url: 'https://XXXXXX',
data: data,
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
}
};
Hi, I change recently to Axios and I can't figure why the this isn't "working" properly inside the promise.
`let all = {
method: 'POST',
url: 'https://XXXXXX',
data: data,
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
}
};
In the end my this.setState is not a function which the use of an arrow function should avoid...
The text was updated successfully, but these errors were encountered: