// Components import { Form, Head } from '@inertiajs/react'; import { LoaderCircle } from 'lucide-react'; import InputError from '@/components/input-error'; import TextLink from '@/components/text-link'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { useTranslation } from '@/lib/translations'; import { login } from '@/routes'; import { email } from '@/routes/password'; export default function ForgotPassword({ status }: { status?: string }) { const { t } = useTranslation(); return ( <> {status && (
{status}
)}
{({ processing, errors }) => ( <>
)}
{t('Or, return to')} {t('log in')}
); } ForgotPassword.layout = { title: 'Forgot password', description: 'Enter your email to receive a password reset link', };