diff --git a/packages/wallets/src/components/WalletHistory.tsx b/packages/wallets/src/components/WalletHistory.tsx index 8b20792a59..d3408bfea8 100644 --- a/packages/wallets/src/components/WalletHistory.tsx +++ b/packages/wallets/src/components/WalletHistory.tsx @@ -8,16 +8,16 @@ import { import { AddressBookContext, Card, - CopyToClipboard, + // CopyToClipboard, Flex, - StateColor, + // StateColor, TableControlled, useCurrencyCode, useSerializedNavigationState, mojoToChia, mojoToCAT, FormatLargeNumber, - truncateValue, + // truncateValue, } from '@chia-network/core'; import type { Row } from '@chia-network/core'; import { Trans } from '@lingui/macro'; @@ -29,7 +29,7 @@ import { TableBody, TableCell, TableRow, - Tooltip, + // Tooltip, Typography, Chip, } from '@mui/material'; @@ -68,9 +68,11 @@ const StyledTableCellSmallRight = styled(StyledTableCellSmall)` padding-left: 1rem; `; +/* const StyledWarning = styled(Box)` color: ${StateColor.WARNING}; `; +*/ async function handleRowClick( event: React.MouseEvent, @@ -139,6 +141,8 @@ const getCols = (type: WalletType, isSyncing, getOfferRecord, navigate, location // const hasMemos = !!memos && !!Object.keys(memos).length && !!memos[Object.keys(memos)[0]]; const isRetire = row.toAddress === metadata.retireAddress; const isOffer = row.toAddress === metadata.offerTakerAddress; + + /* const shouldObscureAddress = isRetire || isOffer; let displayAddress = truncateValue(row.toAddress, {}); @@ -152,6 +156,7 @@ const getCols = (type: WalletType, isSyncing, getOfferRecord, navigate, location } }); } + */ return ( + {/*
To: @@ -187,6 +193,7 @@ const getCols = (type: WalletType, isSyncing, getOfferRecord, navigate, location
+ */} {isIncomingClawback && (