import type { Metadata } from 'next'; import { ResetForm } from './reset-form'; export const metadata: Metadata = { title: 'Choose a new password', robots: { index: false } }; export default async function ResetPage({ searchParams }: { searchParams: Promise> }) { const sp = await searchParams; const t = typeof sp.t === 'string' ? sp.t : ''; return ( <>

Choose a new password

{t ? 'Your reset link is valid. Pick a new password below.' : 'Enter your e-mail, the 6-digit code we sent, and a new password.'}

); }