Closed B0und closed 2 years ago
simplify useAuth hook. Hits api/me only once and then caches the result. (As a nice side effect, I dont have to press login button in e2e test, because using auth.json automatically makes you logged in, as it really should)
useAuth
api/me
merge after add-tests
simplify
useAuth
hook. Hitsapi/me
only once and then caches the result. (As a nice side effect, I dont have to press login button in e2e test, because using auth.json automatically makes you logged in, as it really should)merge after add-tests