'use client'; import { useActionState } from 'react'; import { login } from '../actions'; import { Lock, ArrowRight } from 'lucide-react'; export default function LoginPage() { const [state, formAction, pending] = useActionState(login, null); return (

Yönetici Girişi

Devam etmek için şifrenizi giriniz.

{state?.error && (

{state.error}

)}
); }