logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

upload_progress_container.js (300B)


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