spee.ch/client/containers/PublishThumbnailInput/index.js
2018-03-16 10:34:26 -07:00

15 lines
318 B
JavaScript

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