spee.ch/client/containers/PublishDisabledMessage/index.js

11 lines
219 B
JavaScript
Raw Normal View History

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