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

{error}

) : null}

{t("backToLogin")}

); }