import { useState } from 'react' import { useAuth } from '../context/AuthContext' import { ForgotPassword } from './PasswordRecovery' export default function LoginScreen() { const { login } = useAuth() const [showForgot, setShowForgot] = useState(false) const [email, setEmail] = useState('') const [password, setPassword] = useState('') const [error, setError] = useState(null) const [loading, setLoading] = useState(false) if (showForgot) return (