DOCS

useUser

Hook to get the currently logged in user.

Returns

  • The currently logged in user or null if not logged in, as well as a loading state.