UNPKG

@r3l/app

Version:
2 lines 2.57 kB
(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[44],{"./src/modules/invites/inviteModalTitle.component.js":function(e,n,t){"use strict";t.r(n);var r=t("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),o=t.n(r),s=t("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),u=t.n(s),i=t("../../node_modules/@babel/runtime/helpers/createClass.js"),l=t.n(i),a=t("../../node_modules/@babel/runtime/helpers/assertThisInitialized.js"),c=t.n(a),d=t("../../node_modules/@babel/runtime/helpers/inherits.js"),m=t.n(d),p=t("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=t.n(p),b=t("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),v=t.n(b),h=t("../../node_modules/@babel/runtime/helpers/defineProperty.js"),_=t.n(h),y=t("../../node_modules/@babel/runtime/regenerator/index.js"),j=t.n(y),x=t("../../node_modules/react/index.js"),w=t.n(x),C=t("../../node_modules/prop-types/index.js"),L=t.n(C),A=t("./src/modules/styled/index.ts"),O=t("../../node_modules/react-redux/es/index.js");function D(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=v()(e);if(n){var o=v()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return f()(this,t)}}var E=function(e){m()(t,e);var n=D(t);function t(){var e;u()(this,t);for(var r=arguments.length,s=new Array(r),i=0;i<r;i++)s[i]=arguments[i];return e=n.call.apply(n,[this].concat(s)),_()(c()(e),"submit",o()(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})))),e}return l()(t,[{key:"render",value:function(){var e,n,t,r=this.props.community,o=null===(e=r.communities)||void 0===e||null===(n=e[r])||void 0===n||null===(t=n.active)||void 0===t?void 0:t.name;return w.a.createElement(A.B,{sx:{justifyContent:"space-between",alignItems:"center",flex:1}},w.a.createElement(A.s,{sx:{flexShrink:1}},"Invite Friends To ",o))}}]),t}(x.Component);_()(E,"propTypes",{community:L.a.object});n.default=Object(O.b)((function(e){var n;return{user:e.auth.user,community:e.community,inviteList:(null==e||null===(n=e.admin)||void 0===n?void 0:n.inviteList)||{}}}),(function(){return{}}))(E)}}]); //# sourceMappingURL=invites-inviteModalTitle-component.bundle.d3ca4ebfc8ff8ebe9777.js.map