text: import { connect } from 'react-redux';
  import LoginComponent from './loginComponent';
  import * as loginActions from './loginActions';
  import { getLogin } from '../../reducers';
  
  const mapStateToProps = (state /* , props */) => {
    // console.error(state)
    return {
      // ...getNav(state),
      ...getLogin(state),
    };
  };
  
  const mapDispatchToProps = {
    ...loginActions,
  };
  
  export default connect(
    mapStateToProps,
    mapDispatchToProps,
  )(LoginComponent);
  