Posts by Eduarda Oliveira • 11 points
1 post
-
1
votes1
answer699
viewsA: this.setState does not work
Try to change that line: this.setState({'token': response.data.access_token}); for that: this.setState({token: response.data.access_token}); I believe it is because you are passing the token as…