import Link from "next/link"; import { Button } from "@documenso/ui"; import Logo from "./logo"; import { ArrowLeftIcon } from "@heroicons/react/24/outline"; import { FormProvider, useForm } from "react-hook-form"; interface IResetPassword { email: string; } export default function ForgotPassword(props: any) { const methods = useForm(); const { register, formState, resetField } = methods; const onSubmit = async (values: IResetPassword) => { resetField("email"); console.log(values); }; return ( <>

Forgot Password?

No worries, we'll send you reset instructions.

Back to log in
); }