import { useState } from 'react' import { Link } from 'react-router-dom' export function ForgotPassword() { const [email, setEmail] = useState('') const [submitted, setSubmitted] = useState(false) function handleSubmit(e: React.FormEvent) { e.preventDefault() if (email) setSubmitted(true) } return (
Enter your email and we'll send you a link to reset your password.
{submitted ? (If an account exists for {email}, you'll receive a reset link shortly.
Back to Sign InBack to Sign In