spee.ch/client/build/containers/SiteDescription/index.js

23 lines
547 B
JavaScript
Raw Normal View History

2018-05-23 04:06:37 +02:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactRedux = require("react-redux");
var _view = _interopRequireDefault(require("./view"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var mapStateToProps = function mapStateToProps(_ref) {
2018-06-03 05:58:54 +02:00
var site = _ref.site;
2018-05-23 04:06:37 +02:00
return {
2018-06-03 05:58:54 +02:00
siteDescription: site.description
2018-05-23 04:06:37 +02:00
};
};
var _default = (0, _reactRedux.connect)(mapStateToProps, null)(_view.default);
exports.default = _default;