'use client'; import Link from 'next/link'; import { MailCheck, Send } from 'lucide-react'; import { Suspense } from 'react'; import { FormField } from '@/components/form'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { GuestGuard } from '@/guards'; import { useForgotPasswordForm } from '@/hooks/useForgotPasswordForm'; import { ROUTES } from '@/utils/routes'; import { Loader2 } from 'lucide-react'; function ForgotPasswordContent() { const { register, handleSubmit, errors, isLoading, isSubmitted, isFormSubmitted, canSubmit, displayInfo, } = useForgotPasswordForm(); return (

RoadMonitor

{displayInfo.title}

{displayInfo.description}

{!isSubmitted ? (
Back to Login
) : ( )}
); } export default function ForgotPasswordPage() { return ( ); }