message: removed double query for realm roles
diff: -import React, { useEffect, useState } from "react";
  +import React from "react";
  import { PageSection } from "@patternfly/react-core";
  import { ViewHeader } from "../components/view-header/ViewHeader";
  -import { asyncStateFetch, useAdminClient } from "../context/auth/AdminClient";
  +import { useAdminClient } from "../context/auth/AdminClient";
  import { RolesList } from "./RolesList";
  -import { useErrorHandler } from "react-error-boundary";
  export const RealmRolesSection = () => {
  const adminClient = useAdminClient();
  - const [listRoles, setListRoles] = useState(false);
  - const handleError = useErrorHandler();
  - useEffect(() => {
  - return asyncStateFetch(
  - () => {
  - return Promise.all([adminClient.roles.find()]);
  - },
  -
  - (response) => {
  - setListRoles(!(response[0] && response[0].length > 0));
  - },
  - handleError
  - );
  - }, []);
  -
  - const loader = async (first?: number, max?: number, search?: string) => {
  + const loader = (first?: number, max?: number, search?: string) => {
  const params: { [name: string]: string | number } = {
  first: first!,
  max: max!,
  @@ -35,11 +19,7 @@ export const RealmRolesSection = () => {
  params.search = searchParam;
  }
  - if (!listRoles && !searchParam) {
  - return [];
  - }
  -
  - return await adminClient.roles.find(params);
  + return adminClient.roles.find(params);
  };
  return (
  