You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
360 B
12 lines
360 B
import { connect } from 'react-redux';
|
|
|
|
import UploadProgress from '../components/upload_progress';
|
|
|
|
const mapStateToProps = state => ({
|
|
active: state.getIn(['compose', 'is_uploading']),
|
|
progress: state.getIn(['compose', 'progress']),
|
|
isProcessing: state.getIn(['compose', 'is_processing']),
|
|
});
|
|
|
|
export default connect(mapStateToProps)(UploadProgress);
|