Remove unused attribute

This commit is contained in:
Willian Mitsuda 2021-11-11 15:37:40 -03:00
parent 626133d9e0
commit 8e29326ff5
2 changed files with 1 additions and 9 deletions

View File

@ -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<TokenTransferItemProps> = ({
t,
txData,
tokenMeta,
resolvedAddresses,
}) => (

View File

@ -225,7 +225,6 @@ const Details: React.FC<DetailsProps> = ({
<TokenTransferItem
key={i}
t={t}
txData={txData}
tokenMeta={txData.tokenMetas[t.token]}
resolvedAddresses={resolvedAddresses}
/>