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