From 5c78afef506a352b6d1f6a762e36b1ba66e2a0d5 Mon Sep 17 00:00:00 2001 From: jenny-s51 Date: Mon, 1 Mar 2021 14:09:55 -0500 Subject: [PATCH] remove useEffect --- src/realm-roles/RealmRolesSection.css | 7 +++---- src/realm-roles/UsersInRoleTab.tsx | 4 ---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/realm-roles/RealmRolesSection.css b/src/realm-roles/RealmRolesSection.css index bf8ecdedba..7e0f4a159d 100644 --- a/src/realm-roles/RealmRolesSection.css +++ b/src/realm-roles/RealmRolesSection.css @@ -24,23 +24,22 @@ --pf-c-form__group--m-action--MarginTop: calc( var(--pf-global--spacer--2xl) - var(--pf-global--spacer--sm) ); - } .kc-who-will-appear-button { padding-left: 0px; } -.kc-groups-link { +.pf-c-button.pf-m-link.kc-groups-link { font-size: var(--pf-global--FontSize--sm); padding-left: 0px; padding-right: var(--pf-global--spacer--xs); + padding-top: 0px; } .pf-c-button.pf-m-link.kc-users-link { font-size: var(--pf-global--FontSize--sm); padding-left: var(--pf-global--spacer--xs); padding-right: var(--pf-global--spacer--xs); - padding-top: 0px - + padding-top: 0px; } diff --git a/src/realm-roles/UsersInRoleTab.tsx b/src/realm-roles/UsersInRoleTab.tsx index 300105a177..30eae56cc0 100644 --- a/src/realm-roles/UsersInRoleTab.tsx +++ b/src/realm-roles/UsersInRoleTab.tsx @@ -27,10 +27,6 @@ export const UsersInRoleTab = () => { return usersWithRole; }; - useEffect(() => { - loader(); - }, []); - return ( <>