Use the composable useUserIsAnonymous to see if the user is anonymous or not.
useUserIsAnonymous
const userIsAnonymous = useUserIsAnonymous()
Was this page helpful?