diff --git a/demo/nextjs/app/(auth)/reset-password/page.tsx b/demo/nextjs/app/(auth)/reset-password/page.tsx index 365e854511..7a8751ab66 100644 --- a/demo/nextjs/app/(auth)/reset-password/page.tsx +++ b/demo/nextjs/app/(auth)/reset-password/page.tsx @@ -18,16 +18,11 @@ import { useRouter } from "next/navigation"; import { useState } from "react"; import { toast } from "sonner"; -export default function ResetPassword({ - params, -}: { - params: { token: string }; -}) { +export default function ResetPassword() { const [password, setPassword] = useState(""); const [confirmPassword, setConfirmPassword] = useState(""); const [isSubmitting, setIsSubmitting] = useState(false); const [error, setError] = useState(""); - const token = params.token; const router = useRouter(); async function handleSubmit(e: React.FormEvent) { e.preventDefault();