text: 'use strict'
  
  exports.__esModule = true
  exports['default'] = void 0
  
  var createHasSubmitSucceeded = function createHasSubmitSucceeded(_ref) {
    var getIn = _ref.getIn
    return function(form, getFormState) {
      return function(state) {
        var nonNullGetFormState =
          getFormState ||
          function(state) {
            return getIn(state, 'form')
          }
  
        return !!getIn(nonNullGetFormState(state), form + '.submitSucceeded')
      }
    }
  }
  
  var _default = createHasSubmitSucceeded
  exports['default'] = _default
  