spee.ch/react/containers/PublishTool/index.js
2018-03-12 13:48:12 -07:00

13 lines
345 B
JavaScript

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