Files
buzz-sheet/app/login/page.tsx
T
2026-10-03 00:56:31 +07:00

12 lines
436 B
TypeScript

import { connection } from "next/server";
import { AccountPage } from "@/components/auth/account-page";
export const instant = false;
export default async function LoginPage({ searchParams }: PageProps<"/login">) {
await connection();
const { next, verified, error } = await searchParams;
return <AccountPage mode="login" next={next} verified={verified === "1" && !error}
verificationError={typeof error === "string"} />;
}