diff --git a/src/transaction/Trace.tsx b/src/transaction/Trace.tsx index d683339..86425d6 100644 --- a/src/transaction/Trace.tsx +++ b/src/transaction/Trace.tsx @@ -47,7 +47,6 @@ const Trace: React.FC = ({ txData, resolvedAddresses }) => { ; resolvedAddresses: ResolvedAddresses | undefined; }; const TraceInput: React.FC = ({ t, - txData, fourBytesMap, resolvedAddresses, }) => { diff --git a/src/transaction/TraceItem.tsx b/src/transaction/TraceItem.tsx index aceace4..60e4d85 100644 --- a/src/transaction/TraceItem.tsx +++ b/src/transaction/TraceItem.tsx @@ -3,7 +3,6 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faPlusSquare } from "@fortawesome/free-regular-svg-icons/faPlusSquare"; import { faMinusSquare } from "@fortawesome/free-regular-svg-icons/faMinusSquare"; import { Switch } from "@headlessui/react"; -import { TransactionData } from "../types"; import { FourBytesEntry } from "../use4Bytes"; import { TraceGroup } from "../useErigonHooks"; import { ResolvedAddresses } from "../api/address-resolver"; @@ -11,7 +10,6 @@ import TraceInput from "./TraceInput"; type TraceItemProps = { t: TraceGroup; - txData: TransactionData; last: boolean; fourBytesMap: Record; resolvedAddresses: ResolvedAddresses | undefined; @@ -19,7 +17,6 @@ type TraceItemProps = { const TraceItem: React.FC = ({ t, - txData, last, fourBytesMap, resolvedAddresses, @@ -47,7 +44,6 @@ const TraceItem: React.FC = ({ )} @@ -60,7 +56,6 @@ const TraceItem: React.FC = ({ > @@ -72,20 +67,18 @@ const TraceItem: React.FC = ({ type TraceChildrenProps = { c: TraceGroup[]; - txData: TransactionData; fourBytesMap: Record; resolvedAddresses: ResolvedAddresses | undefined; }; const TraceChildren: React.FC = React.memo( - ({ c, txData, fourBytesMap, resolvedAddresses }) => { + ({ c, fourBytesMap, resolvedAddresses }) => { return ( <> {c.map((tc, i, a) => (