From 7bf84d5598e571295fce89cc2f467f711082cf32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Ram=C3=ADrez?= Date: Tue, 8 Oct 2024 16:42:35 -0300 Subject: [PATCH] fix: don't shorten ens names --- src/components/Claim/Link/Onchain/Confirm.view.tsx | 2 +- src/components/Create/Link/Confirm.view.tsx | 2 +- src/components/Create/Link/Initial.view.tsx | 2 +- src/components/Create/Link/Input.view.tsx | 2 +- src/components/Create/Link/Success.view.tsx | 2 +- .../Dashboard/components/MobileComponent.tsx | 2 +- src/components/Dashboard/index.tsx | 4 ++-- src/components/Profile/Components/TableComponent.tsx | 2 +- src/components/Profile/index.tsx | 8 ++++---- src/components/Request/Pay/Views/Success.view.tsx | 7 +------ src/utils/general.utils.ts | 11 +++++++---- 11 files changed, 21 insertions(+), 23 deletions(-) diff --git a/src/components/Claim/Link/Onchain/Confirm.view.tsx b/src/components/Claim/Link/Onchain/Confirm.view.tsx index 9f0d1e895..acb7ec5c0 100644 --- a/src/components/Claim/Link/Onchain/Confirm.view.tsx +++ b/src/components/Claim/Link/Onchain/Confirm.view.tsx @@ -184,7 +184,7 @@ export const ConfirmClaimLinkView = ({ {recipient.name && } diff --git a/src/components/Create/Link/Confirm.view.tsx b/src/components/Create/Link/Confirm.view.tsx index edbf186bb..5ac4eaf4c 100644 --- a/src/components/Create/Link/Confirm.view.tsx +++ b/src/components/Create/Link/Confirm.view.tsx @@ -186,7 +186,7 @@ export const CreateLinkConfirmView = ({ {createType == 'link' ? 'Text Tokens' : createType == 'direct' - ? `Send to ${recipient.name?.endsWith('.eth') ? recipient.name : utils.shortenAddressLong(recipient.address ?? '')}` + ? `Send to ${recipient.name?.endsWith('.eth') ? recipient.name : utils.printableAddress(recipient.address ?? '')}` : `Send to ${recipient.name}`}