Avinash Sharma
Avinash Sharma
```fetch('https://mylocalip:5000/api/token').then(function (response) { console.log('response : ',response) return response.json(); }).then (function (response) { console.log('token : ',response.token); this.setState({ token: response.token }); }).catch(function (error) { console.log(error); }); ``` Above is my code but...
Sorry my bad. I think it is because of lint staged. I am using husky with lint-staged (prettier eslint). I aborted it on step one but lint-staged somehow removed the...
found the issue. It was because of lint-staged because i aborted it stashed the changes but didn't let me know about it on abort. Did some reading about it and...
check your git stash.
@yuvalbl when did you lose your code then?
@colinmeinke how did you get it working? can I am having the same problem and stuck with it.