import React from "react"; import { Form, Input, Button, Row, Col } from "antd"; import { Helmet } from "react-helmet-async"; import { useAuth } from "../../hooks"; import "../../styles/LoginForm.less"; const { REACT_APP_VERSION } = process.env; const Ingresar = () => { const { signIn, sessionLoading } = useAuth(); const onFinish = (values) => { try { const { usuario, clave } = values; signIn(usuario, clave); } catch (e) { console.log(e); } }; const onFinishFailed = (errorInfo) => { console.log("Failed:", errorInfo); }; return ( <> LAUD - Iniciar Sesión
bg

Iniciar sesión

Bienvenido

{/* logo */}
Derechos reservados {new Date().getFullYear()} © - {REACT_APP_VERSION}
); }; export default Ingresar;