0
0
Fork 0

Add the ability to edit media attachment metadata for any unattached media (#20402)

This commit is contained in:
Claire 2022-11-11 21:22:17 +01:00 committed by GitHub
parent 553b169d48
commit 31005aad12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 7 deletions

View file

@ -5,7 +5,6 @@ import { submitCompose } from '../../../actions/compose';
const mapStateToProps = (state, { id }) => ({
media: state.getIn(['compose', 'media_attachments']).find(item => item.get('id') === id),
isEditingStatus: state.getIn(['compose', 'id']) !== null,
});
const mapDispatchToProps = dispatch => ({