{balanceFormat.format(amount / Math.pow(10, decimals))}{' '}
- {tokenName ?? abbreviateAddress(mint)}
- {tokenSymbol ? ` (${tokenSymbol})` : null}
+ {displayName}
>
}
secondary={subtitle}
@@ -497,6 +523,7 @@ function BalanceListItemDetails({ publicKey, serumMarkets, balanceInfo }) {
balanceInfo.mint?.toBase58(),
publicKey.toBase58(),
]);
+ const isExtensionWidth = useIsExtensionWidth();
if (!balanceInfo) {
return
;
@@ -514,6 +541,75 @@ function BalanceListItemDetails({ publicKey, serumMarkets, balanceInfo }) {
: undefined
: undefined;
+ const additionalInfo = isExtensionWidth ? undefined : (
+ <>
+
+ Deposit Address: {publicKey.toBase58()}
+
+
+ Token Name: {tokenName ?? 'Unknown'}
+
+
+ Token Symbol: {tokenSymbol ?? 'Unknown'}
+
+ {mint ? (
+
+ Token Address: {mint.toBase58()}
+
+ ) : null}
+
+
+
+
+ View on Solana
+
+
+ {market && (
+
+
+ View on Serum
+
+
+ )}
+ {swapInfo && swapInfo.coin.erc20Contract && (
+
+
+ View on Ethereum
+
+
+ )}
+
+ {exportNeedsDisplay && wallet.allowsExport && (
+
+
+ setExportAccDialogOpen(true)}>
+ Export
+
+
+
+ )}
+
+ >
+ );
+
return (
<>
{wallet.allowsExport && (
@@ -562,70 +658,7 @@ function BalanceListItemDetails({ publicKey, serumMarkets, balanceInfo }) {
) : null}
-
-
-
- View on Solana
-
-
- {market && (
-
-
- View on Serum
-
-
- )}
- {swapInfo && swapInfo.coin.erc20Contract && (
-
-
- View on Ethereum
-
-
- )}
-
- {exportNeedsDisplay && wallet.allowsExport && (
-
-
- setExportAccDialogOpen(true)}>
- Export
-
-
-
- )}
-