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

12 lines
278 B
JavaScript

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