UNPKG

@r3l/app

Version:
2 lines 2.04 kB
(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[38],{"./src/modules/community/communityMembersTitle.component.js":function(e,n,t){"use strict";t.r(n);var o=t("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),r=t.n(o),s=t("../../node_modules/@babel/runtime/helpers/createClass.js"),u=t.n(s),i=t("../../node_modules/@babel/runtime/helpers/inherits.js"),c=t.n(i),l=t("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),m=t.n(l),a=t("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),d=t.n(a),p=t("../../node_modules/@babel/runtime/helpers/defineProperty.js"),f=t.n(p),y=t("../../node_modules/react/index.js"),b=t.n(y),_=t("../../node_modules/prop-types/index.js"),h=t.n(_),j=t("../../node_modules/react-redux/es/index.js"),C=t("../../node_modules/redux/es/redux.js"),v=t("./src/modules/community/community.actions.js"),x=t("./src/modules/styled/index.ts");function O(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,o=d()(e);if(n){var r=d()(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return m()(this,t)}}var E=function(e){c()(t,e);var n=O(t);function t(){return r()(this,t),n.apply(this,arguments)}return u()(t,[{key:"render",value:function(){var e=this.props.community,n=e.communities[e.active];return n?b.a.createElement(x.B,{sx:{alignItems:"baseline"}},b.a.createElement(x.s,{inline:1},"Community Members"),b.a.createElement(x.e,{sx:{ml:2}},n.memberCount," Total")):null}}]),t}(y.Component);f()(E,"propTypes",{community:h.a.object});n.default=Object(j.b)((function(e){return{community:e.community}}),(function(e){return{actions:Object(C.b)({joinCommunity:v.joinCommunity},e)}}))(E)}}]); //# sourceMappingURL=community-communityMembersTitle-component.bundle.fabe490409d8f8c122e3.js.map