闭社主体 forked from https://github.com/tootsuite/mastodon
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.

9 lines
309 B

  1. import { connect } from 'react-redux';
  2. import UploadProgress from '../components/upload_progress';
  3. const mapStateToProps = (state, props) => ({
  4. active: state.getIn(['compose', 'is_uploading']),
  5. progress: state.getIn(['compose', 'progress']),
  6. });
  7. export default connect(mapStateToProps)(UploadProgress);