From 5064690ae8742191f9ebfee1d2137593d6b06bff Mon Sep 17 00:00:00 2001 From: Eugenia <32821331+jenny-s51@users.noreply.github.com> Date: Mon, 25 Jan 2021 09:54:40 -0500 Subject: [PATCH] remove comment Co-authored-by: Erik Jan de Wit --- src/realm-roles/RealmRolesSection.tsx | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/realm-roles/RealmRolesSection.tsx b/src/realm-roles/RealmRolesSection.tsx index b0dc21b84c..8ee1426f72 100644 --- a/src/realm-roles/RealmRolesSection.tsx +++ b/src/realm-roles/RealmRolesSection.tsx @@ -71,25 +71,6 @@ export const RealmRolesSection = () => { }, }); - // const [toggleAssociatedRoleDialog, associatedRolesList] = useConfirmDialog({ - // titleKey: "roles:associatedRolesModalTitle", - // messageKey: t("roles:roleDeleteConfirmDialog", { - // selectedRoleName: selectedRole ? selectedRole!.name : "", - // }), - // continueButtonLabel: t("Add"), - // continueButtonVariant: ButtonVariant.danger, - // onConfirm: async () => { - // try { - // await adminClient.roles.delById({ - // id: selectedRole!.id!, - // }); - // setSelectedRole(undefined); - // addAlert(t("roleDeletedSuccess"), AlertVariant.success); - // } catch (error) { - // addAlert(`${t("roleDeleteError")} ${error}`, AlertVariant.danger); - // } - // }, - // }); const goToCreate = () => history.push(`${url}/add-role`); return (