import {connect} from "react-redux"; import {useState} from "react"; import {actionFullLogin} from "../../actions"; const LoginForm = ({onLogin, history}) => { const [l, setL] = useState ('') const [p, setP] = useState ('') return (