'use strict';

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

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

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

var _LogoutIndicator = require('../../components/login/LogoutIndicator');

var _LogoutIndicator2 = _interopRequireDefault(_LogoutIndicator);

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

const mapStateToProps = state => ({
  isPending: (0, _reducers.isLogoutPending)(state),
  response: (0, _reducers.getLogoutResponse)(state)
});

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