'use client'; import { lusitana } from '@/app/ui/fonts'; import { AtSymbolIcon, KeyIcon, ExclamationCircleIcon, } from '@heroicons/react/24/outline'; import { ArrowRightIcon } from '@heroicons/react/20/solid'; import { Button } from './button'; import { useFormState } from 'react-dom'; import { authenticate } from '@/app/lib/loginActions'; export default function LoginForm() { const [errorMessage, dispatch] = useFormState(authenticate, undefined); return (
); } function LoginButton() { return ( ); }