Skip to content

Commit

Permalink
Remove unnecessary hook call
Browse files Browse the repository at this point in the history
  • Loading branch information
sealer3 committed Apr 17, 2024
1 parent 5313128 commit 4a502c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/execution/address/ERC20Item.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FC, memo, useContext } from "react";
import { FC, memo } from "react";
import BlockLink from "../../components/BlockLink";
import MethodName from "../../components/MethodName";
import NativeTokenAmount from "../../components/NativeTokenAmount";
Expand All @@ -7,7 +7,6 @@ import TransactionDirection from "../../components/TransactionDirection";
import TransactionLink from "../../components/TransactionLink";
import { TokenTransfer } from "../../types";
import { BlockNumberContext } from "../../useBlockTagContext";
import { RuntimeContext } from "../../useRuntime";
import TransactionAddress from "../components/TransactionAddress";
import { AddressAwareComponentProps } from "../types";
import TokenAmount from "./TokenAmount";
Expand Down Expand Up @@ -38,7 +37,6 @@ const ERC20Item: FC<ERC20ItemProps> = ({
type,
tokenTransfers,
}) => {
const { provider } = useContext(RuntimeContext);
return (
<BlockNumberContext.Provider value={blockNumber}>
<tr>
Expand Down

0 comments on commit 4a502c2

Please sign in to comment.