From 7455ceffa5756baecfd8f8d1ff2f1f29d282a488 Mon Sep 17 00:00:00 2001 From: port <108868128+portdeveloper@users.noreply.github.com> Date: Sat, 13 Apr 2024 10:55:23 +0300 Subject: [PATCH] Add missing import + dep to dep array --- packages/nextjs/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nextjs/pages/index.tsx b/packages/nextjs/pages/index.tsx index 6a682bde..2e201976 100644 --- a/packages/nextjs/pages/index.tsx +++ b/packages/nextjs/pages/index.tsx @@ -12,6 +12,7 @@ import { MetaHeader } from "~~/components/MetaHeader"; import { MiniFooter } from "~~/components/MiniFooter"; import { NetworksDropdown } from "~~/components/NetworksDropdown"; import { AddressInput } from "~~/components/scaffold-eth"; +import scaffoldConfig from "~~/scaffold.config"; import { useAbiNinjaState } from "~~/services/store/store"; import { fetchContractABIFromAnyABI, fetchContractABIFromEtherscan, parseAndCorrectJSON } from "~~/utils/abi"; import { getTargetNetworks, notification } from "~~/utils/scaffold-eth"; @@ -118,8 +119,7 @@ const Home: NextPage = () => { } else { setIsAbiAvailable(false); } - }, [verifiedContractAddress, network, setContractAbi, publicClient]); - + }, [verifiedContractAddress, network, setContractAbi, publicClient, setImplementationAddress]); useEffect(() => { if (router.pathname === "/") {