Make addresses copyable
This commit is contained in:
parent
9bf3ddf9c4
commit
0cef795107
|
@ -11,6 +11,7 @@ import { assertUnreachable } from "../utils";
|
||||||
import { displayAddress } from "../utils/tx";
|
import { displayAddress } from "../utils/tx";
|
||||||
import { useCluster } from "../providers/cluster";
|
import { useCluster } from "../providers/cluster";
|
||||||
import { PublicKey, LAMPORTS_PER_SOL } from "@solana/web3.js";
|
import { PublicKey, LAMPORTS_PER_SOL } from "@solana/web3.js";
|
||||||
|
import Signature from "./Signature";
|
||||||
|
|
||||||
function AccountsCard() {
|
function AccountsCard() {
|
||||||
const { accounts, idCounter } = useAccounts();
|
const { accounts, idCounter } = useAccounts();
|
||||||
|
@ -156,7 +157,7 @@ const renderAccountRow = (account: Account) => {
|
||||||
<span className={`badge badge-soft-${statusClass}`}>{statusText}</span>
|
<span className={`badge badge-soft-${statusClass}`}>{statusText}</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<code>{account.pubkey.toBase58()}</code>
|
<Signature text={account.pubkey.toBase58()} />
|
||||||
</td>
|
</td>
|
||||||
<td>{balance}</td>
|
<td>{balance}</td>
|
||||||
<td>{data}</td>
|
<td>{data}</td>
|
||||||
|
|
Loading…
Reference in New Issue