From 8e29326ff560f4b4424255a0acb910e5472caf81 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Thu, 11 Nov 2021 15:37:40 -0300 Subject: [PATCH] Remove unused attribute --- src/TokenTransferItem.tsx | 9 +-------- src/transaction/Details.tsx | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/TokenTransferItem.tsx b/src/TokenTransferItem.tsx index d28a538..eb3e0b2 100644 --- a/src/TokenTransferItem.tsx +++ b/src/TokenTransferItem.tsx @@ -4,17 +4,11 @@ import { faCaretRight } from "@fortawesome/free-solid-svg-icons/faCaretRight"; import TransactionAddress from "./components/TransactionAddress"; import ValueHighlighter from "./components/ValueHighlighter"; import FormattedBalance from "./components/FormattedBalance"; -import { - AddressContext, - TokenMeta, - TokenTransfer, - TransactionData, -} from "./types"; +import { AddressContext, TokenMeta, TokenTransfer } from "./types"; import { ResolvedAddresses } from "./api/address-resolver"; type TokenTransferItemProps = { t: TokenTransfer; - txData: TransactionData; tokenMeta?: TokenMeta | undefined; resolvedAddresses: ResolvedAddresses | undefined; }; @@ -22,7 +16,6 @@ type TokenTransferItemProps = { // TODO: handle partial const TokenTransferItem: React.FC = ({ t, - txData, tokenMeta, resolvedAddresses, }) => ( diff --git a/src/transaction/Details.tsx b/src/transaction/Details.tsx index 37226f7..2c87e79 100644 --- a/src/transaction/Details.tsx +++ b/src/transaction/Details.tsx @@ -225,7 +225,6 @@ const Details: React.FC = ({