diff --git a/libs/portals/shared-modules/delegations/src/components/delegations/DelegationViewModal.tsx b/libs/portals/shared-modules/delegations/src/components/delegations/DelegationViewModal.tsx index b06a5e7c0d5f..277823485167 100644 --- a/libs/portals/shared-modules/delegations/src/components/delegations/DelegationViewModal.tsx +++ b/libs/portals/shared-modules/delegations/src/components/delegations/DelegationViewModal.tsx @@ -154,7 +154,7 @@ export const DelegationViewModal = ({ { { - setDelegation( - delegation as AuthCustomDelegationOutgoing, - ) - } - : undefined - } + onDelete={(delegation) => { + setDelegation( + delegation as AuthCustomDelegationOutgoing, + ) + }} onEdit={ !isGeneralMandate ? (delegation) =>