spee.ch/react/containers/PublishTool/index.js
2018-03-01 17:16:04 -08:00

11 lines
242 B
JavaScript

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