diff --git a/app/(dashboard)/users/[userId]/verify/page.tsx b/app/(dashboard)/users/[userId]/verify/page.tsx index e05a1a7..754047c 100644 --- a/app/(dashboard)/users/[userId]/verify/page.tsx +++ b/app/(dashboard)/users/[userId]/verify/page.tsx @@ -1,4 +1,4 @@ -import { FileTextIcon, PencilIcon } from "lucide-react"; +import { EyeIcon, FileTextIcon, PencilIcon } from "lucide-react"; import Image from "next/image"; import Link from "next/link"; import { redirect } from "next/navigation"; @@ -41,10 +41,10 @@ export default async function VerifyUserPage({ return (
-
+

User Information

-
+
{dbUser && !dbUser?.verified && } {dbUser && !dbUser?.verified && } @@ -59,6 +59,12 @@ export default async function VerifyUserPage({ Update Agreement + + + {dbUser?.verified && ( Verified diff --git a/lib/types/user.ts b/lib/types/user.ts index 07106d0..43c714e 100644 --- a/lib/types/user.ts +++ b/lib/types/user.ts @@ -45,6 +45,7 @@ export interface UserProfile { address: string; acc_no: string; id_card: string; + agreement: string; } export interface Session {