'use strict';

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

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

var _CreatePage = require('../../components/pages/CreatePage');

var _CreatePage2 = _interopRequireDefault(_CreatePage);

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

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

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

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