remove comment

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Eugenia 2021-01-25 09:54:40 -05:00 committed by jenny-s51
parent 578b853fd5
commit ec6af8b9ae

View file

@ -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 (