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. |
||
|---|---|---|
| .. | ||
| index.tsx | ||
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. |
||
|---|---|---|
| .. | ||
| index.tsx | ||