Returns the setter for the access token in TokenContext. Use to update token after login/signup or clear it on logout.
Must be used inside AuthWrapper. Typically you won't need this directly — use useLogin, useSignUp, and useLogout instead.
Returns Dispatch<SetStateAction<string|null>>
Dispatch<SetStateAction<string | null>> — call with a string to set the token, or null to clear.
Returns the setter for the access token in TokenContext. Use to update token after login/signup or clear it on logout. Must be used inside
AuthWrapper. Typically you won't need this directly — useuseLogin,useSignUp, anduseLogoutinstead.