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