You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we use useAuth to get the email of the logged-in user
const{ email }=useAuth()
However, I don't think we need to do this on the frontend. If we need access to email we should be able to get it from verifyJWT middleware on the backend.
The text was updated successfully, but these errors were encountered:
Currently we use
useAuth
to get the email of the logged-in userHowever, I don't think we need to do this on the frontend. If we need access to
email
we should be able to get it fromverifyJWT
middleware on the backend.The text was updated successfully, but these errors were encountered: