Commit graph

3 commits

Author SHA1 Message Date
ade64446dc Unset edit key on page load
Just in case, we're unsetting the edit key on page load, so that we can re-set it after clearing our logic checks
2023-01-31 02:56:42 -08:00
cd28629389 Add setEditKey
This method lets us set the edit key in a default header much like we do with user tokens
2023-01-31 02:53:29 -08:00
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
Renamed from utils/setUserToken.tsx (Browse further)