Remove unused attribute
This commit is contained in:
parent
626133d9e0
commit
8e29326ff5
|
@ -4,17 +4,11 @@ import { faCaretRight } from "@fortawesome/free-solid-svg-icons/faCaretRight";
|
||||||
import TransactionAddress from "./components/TransactionAddress";
|
import TransactionAddress from "./components/TransactionAddress";
|
||||||
import ValueHighlighter from "./components/ValueHighlighter";
|
import ValueHighlighter from "./components/ValueHighlighter";
|
||||||
import FormattedBalance from "./components/FormattedBalance";
|
import FormattedBalance from "./components/FormattedBalance";
|
||||||
import {
|
import { AddressContext, TokenMeta, TokenTransfer } from "./types";
|
||||||
AddressContext,
|
|
||||||
TokenMeta,
|
|
||||||
TokenTransfer,
|
|
||||||
TransactionData,
|
|
||||||
} from "./types";
|
|
||||||
import { ResolvedAddresses } from "./api/address-resolver";
|
import { ResolvedAddresses } from "./api/address-resolver";
|
||||||
|
|
||||||
type TokenTransferItemProps = {
|
type TokenTransferItemProps = {
|
||||||
t: TokenTransfer;
|
t: TokenTransfer;
|
||||||
txData: TransactionData;
|
|
||||||
tokenMeta?: TokenMeta | undefined;
|
tokenMeta?: TokenMeta | undefined;
|
||||||
resolvedAddresses: ResolvedAddresses | undefined;
|
resolvedAddresses: ResolvedAddresses | undefined;
|
||||||
};
|
};
|
||||||
|
@ -22,7 +16,6 @@ type TokenTransferItemProps = {
|
||||||
// TODO: handle partial
|
// TODO: handle partial
|
||||||
const TokenTransferItem: React.FC<TokenTransferItemProps> = ({
|
const TokenTransferItem: React.FC<TokenTransferItemProps> = ({
|
||||||
t,
|
t,
|
||||||
txData,
|
|
||||||
tokenMeta,
|
tokenMeta,
|
||||||
resolvedAddresses,
|
resolvedAddresses,
|
||||||
}) => (
|
}) => (
|
||||||
|
|
|
@ -225,7 +225,6 @@ const Details: React.FC<DetailsProps> = ({
|
||||||
<TokenTransferItem
|
<TokenTransferItem
|
||||||
key={i}
|
key={i}
|
||||||
t={t}
|
t={t}
|
||||||
txData={txData}
|
|
||||||
tokenMeta={txData.tokenMetas[t.token]}
|
tokenMeta={txData.tokenMetas[t.token]}
|
||||||
resolvedAddresses={resolvedAddresses}
|
resolvedAddresses={resolvedAddresses}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue