spee.ch/react/containers/PublishDisabledMessage/index.js
2018-03-13 10:08:15 -07:00

10 lines
219 B
JavaScript

import {connect} from 'react-redux';
import View from './view';
const mapStateToProps = ({ publish }) => {
return {
message: publish.disabledMessage,
};
};
export default connect(mapStateToProps, null)(View);