// app/auth/sign-up/page.tsx
import { cookies } from "next/headers";
import { redirect } from "next/navigation";
import SignUp from "./sign-up";

export default async function SignUpPage() {
    const at = (await cookies()).get("ma_at")?.value;
    if (at) redirect("/portal");
    return <SignUp nextPath="/portal" />;
}
