import Link from 'next/link' import { AuthCard } from '~/features/auth/auth-card' import { ResetPasswordForm } from '../_components/reset-password-form' export default async function ResetPasswordPage({ searchParams, }: { searchParams: Promise<{ token?: string; error?: string }> }) { const { token, error } = await searchParams const validToken = token && error !== 'INVALID_TOKEN' ? token : undefined return ( Request a new link } title="New password" > ) }