change signer mapping ui (#677)
This commit is contained in:
parent
06d58bad5e
commit
c6d9b8df50
|
@ -462,17 +462,14 @@ const Proposal = ({
|
|||
{currentProposal.approved.map((pubkey, idx) => (
|
||||
<>
|
||||
<div className="flex justify-between" key={pubkey.toBase58()}>
|
||||
<div>Key {idx + 1}</div>
|
||||
<div>
|
||||
Key {idx + 1}{' '}
|
||||
{pubkey.toBase58() in multisigSignerKeyToNameMapping
|
||||
? `(${multisigSignerKeyToNameMapping[pubkey.toBase58()]})`
|
||||
: null}
|
||||
</div>
|
||||
<CopyPubkey pubkey={pubkey.toBase58()} />
|
||||
</div>
|
||||
{pubkey.toBase58() in multisigSignerKeyToNameMapping ? (
|
||||
<ParsedAccountPubkeyRow
|
||||
key={`${idx}_${pubkey.toBase58()}_confirmed`}
|
||||
mapping={multisigSignerKeyToNameMapping}
|
||||
title="owner"
|
||||
pubkey={pubkey.toBase58()}
|
||||
/>
|
||||
) : null}
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue