diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 5a3872e..a0beedd 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -38,8 +38,6 @@ const Home: NextPage = () => { const [selectedDropdownOption, setSelectedDropdownOption] = useState(defaultOption); - console.log(selectedDropdownOption); - async function onSubmit(e: any) { e.preventDefault(); diff --git a/packages/nextjs/components/scaffold-eth/Faucet.tsx b/packages/nextjs/components/scaffold-eth/Faucet.tsx index 5b45abe..726a76d 100644 --- a/packages/nextjs/components/scaffold-eth/Faucet.tsx +++ b/packages/nextjs/components/scaffold-eth/Faucet.tsx @@ -7,7 +7,8 @@ import { useAccount } from "wagmi"; import { BanknotesIcon } from "@heroicons/react/24/outline"; import { Address, AddressInput, Balance, EtherInput } from "~~/components/scaffold-eth"; import { useTransactor } from "~~/hooks/scaffold-eth"; -import { notification } from "~~/utils/scaffold-eth"; + +// import { notification } from "~~/utils/scaffold-eth"; // Account index to use from generated hardhat accounts. const FAUCET_ACCOUNT_INDEX = 0; @@ -36,19 +37,22 @@ export const Faucet = () => { const accounts = await localWalletClient.getAddresses(); setFaucetAddress(accounts[FAUCET_ACCOUNT_INDEX]); } catch (error) { - notification.error( - <> -
Cannot connect to local provider
-
- - Did you forget to run yarn chain
?
-
- - Or you can change targetNetwork
in{" "}
- scaffold.config.ts
-
Cannot connect to local provider
+ //
+ // - Did you forget to run yarn chain
?
+ //
+ // - Or you can change targetNetwork
in{" "}
+ // scaffold.config.ts
+ //