2017-03-24 02:50:30 +00:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import UploadProgress from '../components/upload_progress';
|
|
|
|
|
|
|
|
const mapStateToProps = (state, props) => ({
|
|
|
|
active: state.getIn(['compose', 'is_uploading']),
|
2017-05-20 15:31:47 +00:00
|
|
|
progress: state.getIn(['compose', 'progress']),
|
2017-03-24 02:50:30 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(UploadProgress);
|