From f2b6fdcff63630d5d946add1f01fa126fb4e46a6 Mon Sep 17 00:00:00 2001 From: Kheops <26880866+0xKheops@users.noreply.github.com> Date: Fri, 3 Nov 2023 15:24:57 +0900 Subject: [PATCH] chore: cleanup --- .../src/ui/domains/Sign/Ethereum/EthSignBodyErc721Approve.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/extension/src/ui/domains/Sign/Ethereum/EthSignBodyErc721Approve.tsx b/apps/extension/src/ui/domains/Sign/Ethereum/EthSignBodyErc721Approve.tsx index 456606d402..fa1d4b698a 100644 --- a/apps/extension/src/ui/domains/Sign/Ethereum/EthSignBodyErc721Approve.tsx +++ b/apps/extension/src/ui/domains/Sign/Ethereum/EthSignBodyErc721Approve.tsx @@ -1,7 +1,6 @@ import { getNftMetadata } from "@core/util/getNftMetadata" import { useQuery } from "@tanstack/react-query" import { SignAlertMessage } from "@ui/domains/Sign/SignAlertMessage" -import { BigNumber } from "ethers" import { FC, useMemo } from "react" import { useTranslation } from "react-i18next" import { UnsafeImage } from "talisman-ui" @@ -30,7 +29,7 @@ export const EthSignBodyErc721Approve: FC = () => { return { operator: getContractCallArg(decodedTx, "operator"), approve: operator !== ZERO_ADDRESS, - tokenId: BigNumber.from(getContractCallArg(decodedTx, "tokenId")), + tokenId: getContractCallArg(decodedTx, "tokenId"), } }, [decodedTx])