import Link from "next/link" import { Logo } from "@/components/shared/logo" import { updatePassword } from "@/app/actions/auth" export default async function UpdatePasswordPage({ searchParams, }: { searchParams: Promise<{ error?: string; token?: string }> }) { const params = await searchParams const error = params.error const token = params.token ?? "" return (

Set new password

Choose a strong password

{error && (
{decodeURIComponent(error)}
)}

Back to sign in

) }