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
0.32d8846….hot-update.js:110 Uncaught (in promise) TypeError: Cannot read property 'username' of undefined(…)
As far as I can tell the errors state is empty.
this.props.userSignupRequest(this.state).then(
() => {},
({ data }) => this.setState({errors : data})
);
This function doesn't return anything. I tried to console.log(data) and I get undefined.
Am i doing something wrong?
The text was updated successfully, but these errors were encountered:
That's because axios changed how it handles errors in newer version. To proceed with series make sure that you use axios version 12.0. I'll cover this issue in later episodes.
0.32d8846….hot-update.js:110 Uncaught (in promise) TypeError: Cannot read property 'username' of undefined(…)
As far as I can tell the errors state is empty.
this.props.userSignupRequest(this.state).then(
() => {},
({ data }) => this.setState({errors : data})
);
This function doesn't return anything. I tried to console.log(data) and I get undefined.
Am i doing something wrong?
The text was updated successfully, but these errors were encountered: