bigbuffet-rw/app/soapbox/features/compose/containers/upload_progress_container.js
2022-03-30 10:51:07 -04:00

10 lines
301 B
JavaScript

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']),
});
export default connect(mapStateToProps)(UploadProgress);