diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-02-13 20:09:01 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2023-02-18 16:02:12 +0100 |
commit | 587f6b3b066360da37066063d659194d43fd7a59 (patch) | |
tree | 5c6fadb943ab9f14e2081d60182b97c682cb4938 /app/javascript/flavours/glitch/features/compose/containers | |
parent | 40fc917a8616898b842ab9f59c81e67a464c3483 (diff) |
[Glitch] Enable ESLint import recommended rules
Port eddfb33dfea6a17e71377d95498b557dd0194477 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/containers')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js | 5 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/containers/upload_container.js | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js b/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js index 1e0058341..14038b3e8 100644 --- a/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js +++ b/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js @@ -1,7 +1,10 @@ import { connect } from 'react-redux'; import PollForm from '../components/poll_form'; -import { addPollOption, removePollOption, changePollOption, changePollSettings } from 'flavours/glitch/actions/compose'; import { + addPollOption, + removePollOption, + changePollOption, + changePollSettings, clearComposeSuggestions, fetchComposeSuggestions, selectComposeSuggestion, diff --git a/app/javascript/flavours/glitch/features/compose/containers/upload_container.js b/app/javascript/flavours/glitch/features/compose/containers/upload_container.js index f3ca4ce7b..2189c870b 100644 --- a/app/javascript/flavours/glitch/features/compose/containers/upload_container.js +++ b/app/javascript/flavours/glitch/features/compose/containers/upload_container.js @@ -1,7 +1,6 @@ import { connect } from 'react-redux'; import Upload from '../components/upload'; -import { undoUploadCompose, initMediaEditModal } from 'flavours/glitch/actions/compose'; -import { submitCompose } from 'flavours/glitch/actions/compose'; +import { undoUploadCompose, initMediaEditModal, submitCompose } from 'flavours/glitch/actions/compose'; const mapStateToProps = (state, { id }) => ({ media: state.getIn(['compose', 'media_attachments']).find(item => item.get('id') === id), |