diff --git a/app/connect/page.tsx b/app/connect/page.tsx index 8e06af5..85d9789 100644 --- a/app/connect/page.tsx +++ b/app/connect/page.tsx @@ -6,6 +6,7 @@ import { XMarkIcon } from "@heroicons/react/20/solid"; import Image from "next/image"; import { Connector, useAccount, useConnect } from "wagmi"; import Link from "next/link"; +import { gnosis } from "viem/chains"; export default function Page() { const account = useAccount(); @@ -38,7 +39,7 @@ export default function Page() {
{networkMessage}
-{searchParams.get("state") == "validator" ? "Check Validators Status" : "Gnosis Beacon Chain Deposit"}
++ {searchParams.get("state") === "validator" ? "Check Validators Status" : "Gnosis Beacon Chain Deposit"} +
{Number(formatEther(balance || BigInt(0))).toFixed(3)} GNO
- {network} -
+ {networkLoading ? ( +