import { loginAction } from "../actions"; export default async function LoginPage({ searchParams, }: { searchParams: Promise<{ error?: string; next?: string }>; }) { const { error, next } = await searchParams; return (

RetroBlog Admin

Sign in to manage posts and settings.

{error && (

Incorrect password. Try again.

)} {next && }
); }