Skip to content

Commit

Permalink
Fix action buttion
Browse files Browse the repository at this point in the history
  • Loading branch information
ryutamago committed Jul 27, 2023
1 parent d032779 commit 4fbab00
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export const MultisigActionButton: React.FC<{
const signer = getImplicitAccount(signerAddress.pkh);
const signerInOwnedAccounts = !!signer;

const approvedBySigner = !!operation.approvals.find(approver => approver === signerAddress);
const approvedBySigner = !!operation.approvals.find(
approver => approver.pkh === signerAddress.pkh
);
const operationIsExecutable = pendingApprovals === 0;

if (!signerInOwnedAccounts) {
Expand Down

0 comments on commit 4fbab00

Please sign in to comment.