import { login } from "./actions"; import { Button } from "@/components/ui/Button"; import { Card } from "@/components/ui/Card"; import { Alert } from "@/components/ui/Alert"; import { FormField, FIELD_CLASSES } from "@/components/ui/FormField"; export default async function LoginPage({ searchParams, }: { searchParams: Promise<{ error?: string }>; }) { const { error } = await searchParams; return (

Anmelden

{error && (
{error}
)}
); }