2017-03-24 11:50:30 +09:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
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']),
|
2017-03-24 11:50:30 +09:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(UploadProgress);
|