import { cookies } from "next/headers"; import { redirect } from "next/navigation"; import { RegisterForm } from "./RegisterForm"; export default async function Register() { const c = await cookies(); const token = c.get("access_token"); if (token) { throw redirect("/"); } return (

archive.local

); }