From 74638f9eb33fc406d6e6caf1b798115734e1c4b1 Mon Sep 17 00:00:00 2001 From: jenny-s51 Date: Tue, 2 Mar 2021 10:29:04 -0500 Subject: [PATCH] revert changes to RealmRolesSection --- src/realm-roles/AssociatedRolesTab.tsx | 2 -- src/realm-roles/RealmRolesSection.tsx | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/realm-roles/AssociatedRolesTab.tsx b/src/realm-roles/AssociatedRolesTab.tsx index f78432a929..87fda3162d 100644 --- a/src/realm-roles/AssociatedRolesTab.tsx +++ b/src/realm-roles/AssociatedRolesTab.tsx @@ -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[], diff --git a/src/realm-roles/RealmRolesSection.tsx b/src/realm-roles/RealmRolesSection.tsx index ddf7655d69..0878b3fcca 100644 --- a/src/realm-roles/RealmRolesSection.tsx +++ b/src/realm-roles/RealmRolesSection.tsx @@ -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 ( <>