0
0
Fork 0

Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master

This commit is contained in:
Eugen Rochko 2017-01-09 14:12:40 +01:00
commit def1f8c5b3
2 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,7 @@ import { uploadCompose } from '../../../actions/compose';
const mapStateToProps = state => ({
disabled: state.getIn(['compose', 'is_uploading']) || (state.getIn(['compose', 'media_attachments']).size > 3 || state.getIn(['compose', 'media_attachments']).some(m => m.get('type') === 'video')),
key: Math.floor((Math.random() * 0x10000))
});
const mapDispatchToProps = dispatch => ({