Skip to content

Commit

Permalink
fix writable badge color
Browse files Browse the repository at this point in the history
  • Loading branch information
ngundotra committed Aug 6, 2024
1 parent 43853d0 commit db24da6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/inspector/AddressTableLookupsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function LookupRow({
</td>
<td className="text-lg-end">{lookupTableIndex}</td>
<td className="text-lg-end">{resolvedKeyComponent}</td>
<td>{!readOnly && <span className="badge bg-info-soft me-1">Writable</span>}</td>
<td>{!readOnly && <span className="badge bg-danger-soft me-1">Writable</span>}</td>
</tr>
);
}
2 changes: 1 addition & 1 deletion app/components/instruction/RawDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function RawDetails({ ix }: { ix: TransactionInstruction }) {
<tr key={keyIndex}>
<td>
<div className="me-2 d-md-inline">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">
Expand Down

0 comments on commit db24da6

Please sign in to comment.