Enforce import order with ESLint (#25096)

This commit is contained in:
Renaud Chaput authored and GitHub committed 2023-05-23 17:15:17 +02:00
1 parent b896b16cb3
commit d27216dc46
355 files changed
+2304 -1366

No files matched your search

@@ -1,6 +1,7 @@
import { connect } from 'react-redux';
import UploadButton from '../components/upload_button';
import { uploadCompose } from '../../../actions/compose';
import UploadButton from '../components/upload_button';
const mapStateToProps = state => ({
disabled: state.getIn(['compose', 'is_uploading']) || (state.getIn(['compose', 'media_attachments']).size + state.getIn(['compose', 'pending_media_attachments']) > 3 || state.getIn(['compose', 'media_attachments']).some(m => ['video', 'audio'].includes(m.get('type')))),