diff --git a/app/soapbox/components/poll.js b/app/soapbox/components/poll.js index ee31d25c0..22e06beb0 100644 --- a/app/soapbox/components/poll.js +++ b/app/soapbox/components/poll.js @@ -9,6 +9,7 @@ import spring from 'react-motion/lib/spring'; import { openModal } from 'soapbox/actions/modals'; import { vote, fetchPoll } from 'soapbox/actions/polls'; import Icon from 'soapbox/components/icon'; +import { Text } from 'soapbox/components/ui'; import Motion from 'soapbox/features/ui/util/optional_motion'; import SoapboxPropTypes from 'soapbox/utils/soapbox_prop_types'; @@ -106,7 +107,7 @@ class Poll extends ImmutablePureComponent { {showResults && ( {({ width }) => - + } )} @@ -163,9 +164,15 @@ class Poll extends ImmutablePureComponent {
{!showResults && } - {showResults && !this.props.disabled && · } - - {poll.get('expires_at') && · {timeRemaining}} + + {showResults && !this.props.disabled && ( + · + )} + + {poll.get('expires_at') && · {timeRemaining}} +
);