"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _reactRedux = require("../../../react-redux");

var _stateHelper = _interopRequireDefault(require("../../../util/stateHelper"));

var _default = function _default(ComposedComponent) {
  var mapStateToProps = function mapStateToProps() {
    return {
      disableDraggingOverride: _stateHelper.default.editingQuizEntry()
    };
  };

  return (0, _reactRedux.connect)(mapStateToProps)(ComposedComponent);
};

exports.default = _default;