You can use the boolean
authenticated
from the usePrivy
hook to determine if your user is authenticated or not.Before determining a user’s auth status from Privy, you should verify that
Privy has fully initialized and is
ready