Skip to content

Commit

Permalink
fix: use correct address for token account balance
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Dec 4, 2023
1 parent d8ad052 commit bc861d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/web/src/app/features/account/account-ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function AccountTokens({ address }: { address: PublicKey }) {
<Table.Tr>
<Table.Th>Public Key</Table.Th>
<Table.Th>Mint</Table.Th>
<Table.Th align="right">Balance</Table.Th>
<Table.Th ta="right">Balance</Table.Th>
</Table.Tr>
</Table.Thead>
<Table.Tbody>
Expand All @@ -165,7 +165,7 @@ export function AccountTokens({ address }: { address: PublicKey }) {
/>
</Table.Td>
<Table.Td align="right">
<AccountTokenBalance ff="monospace" address={address} />
<AccountTokenBalance ff="monospace" address={pubkey} />
</Table.Td>
</Table.Tr>
))}
Expand Down Expand Up @@ -232,7 +232,7 @@ export function AccountTransactions({ address }: { address: PublicKey }) {
<Table.Th>Signature</Table.Th>
<Table.Th align="right">Slot</Table.Th>
<Table.Th>Block Time</Table.Th>
<Table.Th align="right">Status</Table.Th>
<Table.Th ta="right">Result</Table.Th>
</Table.Tr>
</Table.Thead>
<Table.Tbody>
Expand Down

0 comments on commit bc861d4

Please sign in to comment.