diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 9158ef2..331cbb9 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -1,10 +1,10 @@ "use client"; -import React from "react"; import Link from "next/link"; import type { NextPage } from "next"; import { useAccount } from "wagmi"; import { BugAntIcon, MagnifyingGlassIcon } from "@heroicons/react/24/outline"; +import { Address } from "~~/components/scaffold-eth"; import { useScaffoldReadContract } from "~~/hooks/scaffold-eth"; interface Props { @@ -12,15 +12,13 @@ interface Props { className?: string; } -interface StarknetReact { +interface BatchUserStatus { connectedAddress: string; isAllowListed: boolean; isCheckedIn: boolean; - userContractAddress: string; isLoading: boolean; } -// Alert Components const Alert = ({ children, className = "" }: Props) => (
- Active with contract: {userContractAddress?.slice(0, 6)}...{userContractAddress?.slice(-4)} + Active with wallet address: