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