From 7a1a7b80c4dd12fc387a4f5fbf8783ed5b4eb3c7 Mon Sep 17 00:00:00 2001 From: tiendn Date: Mon, 3 Apr 2023 13:53:40 +0700 Subject: [PATCH] fix: wrong link when click address transfer internal --- .../Card/CardInfo/Components/ContractTransferInternal.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/Card/CardInfo/Components/ContractTransferInternal.tsx b/components/Card/CardInfo/Components/ContractTransferInternal.tsx index ca81dc49..c5373c74 100644 --- a/components/Card/CardInfo/Components/ContractTransferInternal.tsx +++ b/components/Card/CardInfo/Components/ContractTransferInternal.tsx @@ -2,6 +2,7 @@ import { ellipseBetweenText } from '@astraprotocol/astra-ui' import CopyButton from 'components/Button/CopyButton' import Typography from 'components/Typography' import Image from 'next/image' +import { LinkMaker } from 'utils/helper' import { Content, InternalTransferContent } from '..' const ContractTransferInternal = ({ content }: { content: Content }) => { @@ -25,12 +26,12 @@ const ContractTransferInternal = ({ content }: { content: Content }) => { Transfer {t.value} ASA {' '} From{' '} - + {t.fromText ? `${t.fromText} (${ellipseBetweenText(t.from)})` : ellipseBetweenText(t.from)} {' '} To{' '} - + {t.toText ? `${t.toText} (${ellipseBetweenText(t.to)})` : ellipseBetweenText(t.to)}