spee.ch/react/containers/PublishTool/index.js
2018-01-18 09:33:26 -08:00

12 lines
281 B
JavaScript

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