Interface UseUserReturn

The return type of the useUser hook.

Hierarchy

  • UseUserReturn

Properties

Properties

fetched: boolean

A boolean indicating whether the user data has been fetched.

A method to manually refresh the user data.

user: null | User

The fetched user data, or null if not yet fetched.

Generated using TypeDoc