Result object returned by the useUserQueries hook

UserQueryResult

interface UserQueryResult {
    error: null | ApolloError;
    loading: boolean;
    userData: null | User;
}

Properties

error: null | ApolloError

Error from any of the queries, null if all successful

loading: boolean

Whether any of the queries are still loading

userData: null | User

Combined user data from all queries, null if any query fails or is loading*