'use strict';

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

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

var _VocabularyUsedByPanel = require('../../components/admin/VocabularyUsedByPanel');

var _VocabularyUsedByPanel2 = _interopRequireDefault(_VocabularyUsedByPanel);

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

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

var mapStateToProps = function mapStateToProps(state, ownProps) {
  var csid = ownProps.csid;


  return {
    data: (0, _reducers.getRecordData)(state, csid)
  };
};

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