2017-03-24 13:50:30 +11:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import UploadProgress from '../components/upload_progress';
|
|
|
|
|
|
|
|
const mapStateToProps = (state, props) => ({
|
|
|
|
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);
|