2020-03-27 13:59:38 -07:00
|
|
|
import { connect } from 'react-redux';
|
2022-01-10 14:25:06 -08:00
|
|
|
|
2020-03-27 13:59:38 -07:00
|
|
|
import UploadForm from '../components/upload_form';
|
|
|
|
|
|
|
|
const mapStateToProps = state => ({
|
|
|
|
mediaIds: state.getIn(['compose', 'media_attachments']).map(item => item.get('id')),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(UploadForm);
|