Move PollForm from features/composer to features/compose
This commit is contained in:
parent
f1a22e33e2
commit
c5f49a92dc
3 changed files with 4 additions and 6 deletions
|
@ -9,7 +9,7 @@ import ComposerOptions from '../../composer/options';
|
|||
import ComposerPublisher from '../../composer/publisher';
|
||||
import ComposerTextarea from '../../composer/textarea';
|
||||
import ComposerUploadForm from '../../composer/upload_form';
|
||||
import ComposerPollForm from '../../composer/poll_form';
|
||||
import PollFormContainer from '../containers/poll_form_container';
|
||||
import WarningContainer from '../containers/warning_container';
|
||||
import ReplyIndicatorContainer from '../containers/reply_indicator_container';
|
||||
|
||||
|
@ -382,9 +382,7 @@ class ComposeForm extends ImmutablePureComponent {
|
|||
handleRef={handleRefUploadForm}
|
||||
/>
|
||||
) : null}
|
||||
{!!poll && (
|
||||
<ComposerPollForm />
|
||||
)}
|
||||
<PollFormContainer />
|
||||
</div>
|
||||
<ComposerOptions
|
||||
acceptContentTypes={acceptContentTypes}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { connect } from 'react-redux';
|
||||
import PollForm from './components/poll_form';
|
||||
import { addPollOption, removePollOption, changePollOption, changePollSettings } from '../../../actions/compose';
|
||||
import PollForm from '../components/poll_form';
|
||||
import { addPollOption, removePollOption, changePollOption, changePollSettings } from 'flavours/glitch/actions/compose';
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
options: state.getIn(['compose', 'poll', 'options']),
|
Loading…
Reference in a new issue