15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
import LoginForm from "./login-form";
|
|
|
|
export default async function LoginPage({
|
|
searchParams,
|
|
}: {
|
|
searchParams: Promise<{ next?: string }>;
|
|
}) {
|
|
const { next } = await searchParams;
|
|
return (
|
|
<main className="flex min-h-screen items-center justify-center bg-neutral-50 px-6 py-12">
|
|
<LoginForm next={next} />
|
|
</main>
|
|
);
|
|
}
|