diff --git a/app/soapbox/features/compose/containers/poll_button_container.js b/app/soapbox/features/compose/containers/poll_button_container.js index c27967b94..db24886e2 100644 --- a/app/soapbox/features/compose/containers/poll_button_container.js +++ b/app/soapbox/features/compose/containers/poll_button_container.js @@ -3,7 +3,7 @@ import PollButton from '../components/poll_button'; import { addPoll, removePoll } from '../../../actions/compose'; const mapStateToProps = state => ({ - unavailable: state.getIn(['compose', 'is_uploading']) || (state.getIn(['compose', 'media_attachments']).size > 0), + unavailable: state.getIn(['compose', 'is_uploading']), active: state.getIn(['compose', 'poll']) !== null, });