diff --git a/packages/wallets/src/components/WalletHistory.tsx b/packages/wallets/src/components/WalletHistory.tsx index 8b20792a59..f4a4017a5e 100644 --- a/packages/wallets/src/components/WalletHistory.tsx +++ b/packages/wallets/src/components/WalletHistory.tsx @@ -8,7 +8,6 @@ import { import { AddressBookContext, Card, - CopyToClipboard, Flex, StateColor, TableControlled, @@ -153,6 +152,24 @@ const getCols = (type: WalletType, isSyncing, getOfferRecord, navigate, location }); } + const addressEl = shouldObscureAddress ? ( + + This is not a valid address for sending funds to + + } + > + + {displayEmoji} {displayAddress} + + + ) : ( + + {displayEmoji} {displayAddress} + + ); + return ( To: - - {shouldObscureAddress && ( - - This is not a valid address for sending funds to - - )} - - {row.toAddress} - {!shouldObscureAddress && } - - - } - > - - {displayEmoji} {displayAddress} - - + {addressEl} {isIncomingClawback && (