I’m using the useUser()
hook in this fashion:
const { user, error, isLoading } = useUser()
I’d like to know what happens when there’s an error
so I can handle it in the UI properly. What can I do to intentionally make useUser()
error out?
I’m using the useUser()
hook in this fashion:
const { user, error, isLoading } = useUser()
I’d like to know what happens when there’s an error
so I can handle it in the UI properly. What can I do to intentionally make useUser()
error out?