2017-03-24 02:50:30 +00:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import UploadProgress from '../components/upload_progress';
|
|
|
|
|
2017-06-23 14:05:04 +00:00
|
|
|
const mapStateToProps = state => ({
|
2017-03-24 02:50:30 +00:00
|
|
|
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);
|