feat: delete & edit role.

This commit is contained in:
elforjani13
2021-11-22 19:53:40 +02:00
parent a54ddf27c7
commit 15e7f34879
13 changed files with 64 additions and 22 deletions

View File

@@ -20,6 +20,9 @@ function RoleDeleteAlert({
// #withAlertStoreConnect
isOpen,
payload: { roleId },
// #withAlertActions
closeAlert,
}) {
const { mutateAsync: deleteRole, isLoading } = useDeleteRole();