saasitive / django-react-boilerplate

DIY Django + React Boilerplate for starting your SaaS
https://saasitive.com
MIT License
592 stars 88 forks source link

Redundant setAxiosAuthToken() call #11

Open DucPhamTV opened 3 years ago

DucPhamTV commented 3 years ago

In https://github.com/saasitive/django-react-boilerplate/blob/main/frontend/src/components/login/LoginActions.js. setAxiosAuthToken() is called 2 times, I believe you can drop one of them.

pplonski commented 3 years ago

@DucPhamTV thank you for finding this! I will fix this, when back to the course.