import { connect } from 'react-redux';

import { login } from '../../actions/profile.js';

import LocalLogin from './LocalLogin.js';

const mapDispatchToProps = (dispatch) => ({
  doLoginAction: (username, password) => dispatch(login(username, password)),
});

export default connect(null, mapDispatchToProps)(LocalLogin);
