hensei-web/pages
Justin Edmund d32293995b Refactor setUserToken into two methods
This refactors `setUserToken` into `accountCookie`, which just returns a cookie if it exists, and `setHeaders`, which sets the Axios header defaults.

Then, we update the calls in all the required files.
2023-01-31 00:18:54 -08:00
..
new Refactor setUserToken into two methods 2023-01-31 00:18:54 -08:00
p Refactor setUserToken into two methods 2023-01-31 00:18:54 -08:00
[username].tsx Refactor setUserToken into two methods 2023-01-31 00:18:54 -08:00
_app.tsx Refactor setUserToken into two methods 2023-01-31 00:18:54 -08:00
about.tsx Refactor setUserToken into two methods 2023-01-31 00:18:54 -08:00
saved.tsx Refactor setUserToken into two methods 2023-01-31 00:18:54 -08:00
teams.tsx Refactor setUserToken into two methods 2023-01-31 00:18:54 -08:00