PollContainer: don't pass `me` as a prop
This commit is contained in:
parent
4bd1531056
commit
dc2d3b1b09
|
@ -12,7 +12,6 @@ import { vote, fetchPoll } from 'soapbox/actions/polls';
|
|||
import Icon from 'soapbox/components/icon';
|
||||
import emojify from 'soapbox/features/emoji/emoji';
|
||||
import Motion from 'soapbox/features/ui/util/optional_motion';
|
||||
import SoapboxPropTypes from 'soapbox/utils/soapbox_prop_types';
|
||||
|
||||
import RelativeTimestamp from './relative_timestamp';
|
||||
|
||||
|
@ -35,7 +34,6 @@ class Poll extends ImmutablePureComponent {
|
|||
intl: PropTypes.object.isRequired,
|
||||
dispatch: PropTypes.func,
|
||||
disabled: PropTypes.bool,
|
||||
me: SoapboxPropTypes.me,
|
||||
status: PropTypes.string,
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ import Poll from 'soapbox/components/poll';
|
|||
|
||||
const mapStateToProps = (state, { pollId }) => ({
|
||||
poll: state.getIn(['polls', pollId]),
|
||||
me: state.get('me'),
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue