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

Set a new password

{error ? (

{error}

) : null}

Back to login

); }