From dc2d3b1b09b3e51c0677104a797ad430ed6250ab Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 10 Mar 2022 16:30:42 -0600 Subject: [PATCH] PollContainer: don't pass `me` as a prop --- app/soapbox/components/poll.js | 2 -- app/soapbox/containers/poll_container.js | 1 - 2 files changed, 3 deletions(-) diff --git a/app/soapbox/components/poll.js b/app/soapbox/components/poll.js index 57d693003..9b0327798 100644 --- a/app/soapbox/components/poll.js +++ b/app/soapbox/components/poll.js @@ -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, }; diff --git a/app/soapbox/containers/poll_container.js b/app/soapbox/containers/poll_container.js index 50d21517a..4c110cdc9 100644 --- a/app/soapbox/containers/poll_container.js +++ b/app/soapbox/containers/poll_container.js @@ -4,7 +4,6 @@ import Poll from 'soapbox/components/poll'; const mapStateToProps = (state, { pollId }) => ({ poll: state.getIn(['polls', pollId]), - me: state.get('me'), });