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 162146c371
commit 5064690ae8

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 (