Skip to content

Commit

Permalink
fix writable badge color for anchor ix cards
Browse files Browse the repository at this point in the history
  • Loading branch information
ngundotra committed Aug 6, 2024
1 parent 1e4125d commit 43853d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/instruction/AnchorDetailsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function AnchorDetails({ ix, anchorProgram }: { ix: TransactionInstruction; anch
: `Remaining Account #${keyIndex + 1 - ixAccounts.length}`
: `Account #${keyIndex + 1}`}
</div>
{isWritable && <span className="badge bg-info-soft me-1">Writable</span>}
{isWritable && <span className="badge bg-danger-soft me-1">Writable</span>}
{isSigner && <span className="badge bg-info-soft me-1">Signer</span>}
</td>
<td className="text-lg-end" colSpan={2}>
Expand Down

0 comments on commit 43853d0

Please sign in to comment.