import { auth } from "@/lib/auth";
import { redirect } from "next/navigation";

export default async function AdminPage() {
    const session = await auth();

    if (!session) {
        redirect("/admin/login");
    }

    redirect("/admin/dashboard");
}
