@@ -35,15 +45,25 @@ const LoginView: React.FC = ({ onLogin, error: externalError })
-
+
+ { setEmail(e.target.value); setError(''); }} + onChange={(e) => { setEmail(e.target.value); setLocalError(''); }} placeholder="Wohnpro E-Mail Adresse" + aria-invalid={!!error} + aria-describedby={error ? "login-error" : undefined} className={`w-full bg-gray-50 border ${error ? 'border-red-200' : 'border-gray-100'} rounded-2xl px-6 py-4 focus:outline-none focus:ring-2 focus:ring-black/5 transition-all text-lg placeholder:text-gray-300`} /> - {error &&

{error}

} + {error && ( + + )}