'use strict';

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

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

var _AdminPage = require('../../components/pages/AdminPage');

var _AdminPage2 = _interopRequireDefault(_AdminPage);

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

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

const mapStateToProps = state => ({
  perms: (0, _reducers.getUserPerms)(state),
  preferredTab: (0, _reducers.getAdminTab)(state)
});

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