'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _reactRedux = require('react-redux');

var _LoginPage = require('../../components/pages/LoginPage');

var _LoginPage2 = _interopRequireDefault(_LoginPage);

var _login = require('../../actions/login');

var _reducers = require('../../reducers');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var mapStateToProps = function mapStateToProps(state) {
  return {
    continuation: (0, _reducers.getLoginContinuation)(state)
  };
};

var mapDispatchToProps = {
  onMount: _login.resetLogin
};

exports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_LoginPage2.default);