diff --git a/src/transaction/Details.tsx b/src/transaction/Details.tsx index d6cf61c..cca0ea1 100644 --- a/src/transaction/Details.tsx +++ b/src/transaction/Details.tsx @@ -1,7 +1,8 @@ -import React, { useMemo, useState } from "react"; +import React, { useMemo } from "react"; import { TransactionDescription } from "@ethersproject/abi"; import { BigNumber } from "@ethersproject/bignumber"; import { toUtf8String } from "@ethersproject/strings"; +import { Tab } from "@headlessui/react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faCheckCircle } from "@fortawesome/free-solid-svg-icons/faCheckCircle"; import { faCube } from "@fortawesome/free-solid-svg-icons/faCube"; @@ -48,7 +49,6 @@ const Details: React.FC = ({ const hasEIP1559 = txData.confirmedData?.blockBaseFeePerGas !== undefined && txData.confirmedData?.blockBaseFeePerGas !== null; - const [inputMode, setInputMode] = useState(0); const utfInput = useMemo(() => { try { @@ -312,51 +312,75 @@ const Details: React.FC = ({ )} -
-
- - -
-