import InputReadOnly from "@/components/input-read-only"; import { Badge } from "@/components/ui/badge"; import UserRejectDialog from "@/components/user/user-reject-dialog"; import { UserVerifyDialog } from "@/components/user/user-verify-dialog"; import { getNationalPerson } from "@/lib/person"; import Image from "next/image"; export default async function VerifyUserPage({ params, }: { params: Promise<{ userId: string; }>; }) { const userId = (await params).userId; // const dbUser = await prisma.user.findUnique({ // where: { // id: userId, // }, // include: { // island: { // include: { // atoll: true // } // } // } // }) // const nationalData = await getNationalPerson({ idCard: dbUser?.id_card ?? "" }) return null; // return ( //
//
//

Verify user

//
// {dbUser && !dbUser?.verified && } // {dbUser && !dbUser?.verified && } // {dbUser?.verified && ( // // Verified // // )} //
//
//
//
//

Database Information

//
// // // // // // // //
//
//
//

National Information

//
// // // // // // // //
// id photo //
//
//
//
//
// ); }