From 60f6bff3065766fed488e37b0fc97408c71f78fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Wed, 29 Jun 2022 23:05:26 +0200 Subject: [PATCH] Polls: Hide multiple options hint if already voted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/components/polls/poll.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/soapbox/components/polls/poll.tsx b/app/soapbox/components/polls/poll.tsx index cdd412fa65..f06bfb0a23 100644 --- a/app/soapbox/components/polls/poll.tsx +++ b/app/soapbox/components/polls/poll.tsx @@ -67,13 +67,13 @@ const Poll: React.FC = ({ id, status }): JSX.Element | null => { return ( // eslint-disable-next-line jsx-a11y/no-static-element-interactions
e.stopPropagation()}> - {poll.multiple && ( + {!showResults && poll.multiple && ( {intl.formatMessage(messages.multiple)} )} - + {poll.options.map((option, i) => (