"use strict";

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

var _immutable = require("immutable");

function getModalTrigger(state) {
  var modalOptions = state.getIn(['modal', 'options']) || (0, _immutable.Map)();
  return modalOptions.get('modalTrigger');
}