revert changes to RealmRolesSection

This commit is contained in:
jenny-s51 2021-03-02 10:29:04 -05:00
parent c5cfd9cd7a
commit 74638f9eb3
2 changed files with 1 additions and 4 deletions

View file

@ -51,8 +51,6 @@ export const AssociatedRolesTab = ({
const { id } = useParams<{ id: string }>();
const inheritanceMap = React.useRef<{ [key: string]: string }>({});
console.log(id)
const getSubRoles = async (
role: RoleRepresentation,
allRoles: RoleRepresentation[],

View file

@ -13,8 +13,7 @@ export const RealmRolesSection = () => {
max: max!,
search: search!,
};
const x = await adminClient.roles.find(params);
return x;
return await adminClient.roles.find(params);
};
return (
<>