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