// "use client"
// import { isAdmin } from "~/app/actions"
import { useUser } from "@clerk/nextjs"
import { env } from "~/env"
export default function AdminWrap({children,}: Readonly<{ children: React.ReactNode }>) {
	const user = useUser();
	if (user.isSignedIn && user.user.id == env.NEXT_PUBLIC_ADMIN_USER_CLERK_ID) {
		return <>{children}</>
	}
	return (<></>) 
}

