diff --git a/components/Card/CardInfo/Components/Transfers.tsx b/components/Card/CardInfo/Components/Transfers.tsx index 468ba486..3a115fd6 100644 --- a/components/Card/CardInfo/Components/Transfers.tsx +++ b/components/Card/CardInfo/Components/Transfers.tsx @@ -51,7 +51,7 @@ const Transfers = ({ content }: { content: Content }) => { > For {content?.transfer.value} - + {content?.transfer?.token} diff --git a/components/Card/CardInfo/index.tsx b/components/Card/CardInfo/index.tsx index 24ef6443..6ce81f9a 100644 --- a/components/Card/CardInfo/index.tsx +++ b/components/Card/CardInfo/index.tsx @@ -28,6 +28,7 @@ export type Content = { to?: string toText?: string value?: number + tokenAddress?: string token?: string } decode?: DecodeProps diff --git a/views/transactions/hook/useConvertData.ts b/views/transactions/hook/useConvertData.ts index 4537e26e..af847767 100644 --- a/views/transactions/hook/useConvertData.ts +++ b/views/transactions/hook/useConvertData.ts @@ -192,6 +192,7 @@ export default function useConvertData({ data }: { data: TransactionDetail }) { ellipseBetweenText(transfer.toAddress, 6, 6) ), value: Number(formatUnits(transfer.amount, transfer.decimals)), + tokenAddress: transfer.tokenContractAddress, token: transfer.tokenSymbol } }