import Link from "next/link"; import { requestReset } from "@/actions/password-reset"; export default async function ForgotPage({ searchParams, }: { searchParams: Promise<{ sent?: string }>; }) { const { sent } = await searchParams; return (

Reset password

{sent ? (

If that email is registered, a reset link has been sent. Check your inbox.

) : (
)}

Back to login

); }