12 lines
278 B
JavaScript
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);
|