import Link from "next/link"; import { getTranslations } from "next-intl/server"; import { requestReset } from "@/actions/password-reset"; import { ContentCard } from "@/components/public/ui"; export default async function ForgotPage({ searchParams, }: { searchParams: Promise<{ sent?: string }>; }) { const t = await getTranslations("pages.forgot"); const { sent } = await searchParams; return (
{sent ? (

{t("sentNotice")}

) : (
)}

{t("backToLogin")}

); }