diff --git a/app/(verify)/verify/identity-verification/page.tsx b/app/(verify)/verify/identity-verification/page.tsx index 34b2317..a2d278b 100644 --- a/app/(verify)/verify/identity-verification/page.tsx +++ b/app/(verify)/verify/identity-verification/page.tsx @@ -1,12 +1,12 @@ 'use client'; import ConnectButton from '@/components/ConnectButton'; -import VerifyBackButton from '@/components/verify/VerifyBackButton'; import VerifyWalletReconnect from '@/components/verify/VerifyWalletReconnect'; import { api } from '@/lib/api'; import { useRedirectIfAlreadyVerified } from '@/hooks/useRedirectIfAlreadyVerified'; import { persistVerifyRequestId, persistVerifyWallet } from '@/lib/identity-verify-session'; import { Check, Circle, Shield } from 'lucide-react'; +import Link from 'next/link'; import { useState, useEffect } from 'react'; import { useAccount } from 'wagmi'; @@ -83,13 +83,12 @@ export default function IdentityVerificationPage() {
-
- +

GrantOS

-
+ {isConnected ? : }
diff --git a/app/verify/success/page.tsx b/app/verify/success/page.tsx index b393bbc..6afd811 100644 --- a/app/verify/success/page.tsx +++ b/app/verify/success/page.tsx @@ -3,7 +3,6 @@ // app/verify/success/page.tsx import ConnectButton from '@/components/ConnectButton'; -import VerifyBackButton from '@/components/verify/VerifyBackButton'; import VerifyWalletReconnect from '@/components/verify/VerifyWalletReconnect'; import { api } from '@/lib/api'; import { @@ -18,6 +17,7 @@ import { } from '@/lib/identity-verify-session'; import { IDENTITY_REGISTRY_ABI, IDENTITY_REGISTRY_ADDRESS } from '@/lib/contracts'; import { Check, CheckCircle2, Fingerprint, Shield, AlertTriangle } from 'lucide-react'; +import Link from 'next/link'; import { useRouter, useSearchParams } from 'next/navigation'; import { Suspense, useEffect, useMemo, useRef, useState } from 'react'; import { useAccount, useReadContract, useWaitForTransactionReceipt, useConfig, useSwitchChain, useBalance } from 'wagmi'; @@ -521,8 +521,7 @@ function SuccessContent() {
-
- +
G
@@ -530,7 +529,7 @@ function SuccessContent() { Sepolia -
+
{isFullyVerified && ( diff --git a/lib/roleDetection.ts b/lib/roleDetection.ts index 8b55730..9494a3d 100644 --- a/lib/roleDetection.ts +++ b/lib/roleDetection.ts @@ -17,6 +17,7 @@ export type DetectedRoles = { isVerified: boolean; builderGrantIds: bigint[]; committeeGrantIds: bigint[]; + grantorGrantIds: bigint[]; isBuilder: boolean; isCommittee: boolean; isDaoAdmin: boolean; @@ -146,6 +147,7 @@ export function useRoleDetection(): DetectedRoles { isVerified: false, builderGrantIds: [], committeeGrantIds: [], + grantorGrantIds: [], isBuilder: false, isCommittee: false, isDaoAdmin: false, @@ -205,6 +207,7 @@ export function useRoleDetection(): DetectedRoles { isVerified, builderGrantIds: builderIds, committeeGrantIds: committeeIds, + grantorGrantIds: grantorIds, isBuilder, isCommittee, isDaoAdmin,