Skip to content

Commit

Permalink
small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
magnearun committed Oct 4, 2024
1 parent caedd71 commit 64a1340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const DelegationViewModal = ({

return (
<Modal
id={`delegation-incoming-view-modal-${delegation?.id}`}
id={`delegation-${direction}-view-modal-${delegation?.id}`}
eyebrow={formatMessage(m.accessControl)}
title={formatMessage(m.accessControlAccess)}
label={formatMessage(m.accessControlAccess)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export const DelegationsOutgoing = () => {
<DelegationViewModal
onClose={() => setDelegationView(null)}
isVisible={!!delegationView}
delegation={delegationView as AuthCustomDelegationIncoming}
delegation={delegationView || undefined}
direction={'outgoing'}
/>
</>
Expand Down

0 comments on commit 64a1340

Please sign in to comment.