Merge branch 'poll-hint' into 'develop'
Polls: Hide multiple options hint if already voted See merge request soapbox-pub/soapbox-fe!1587
This commit is contained in:
commit
891e844792
1 changed files with 2 additions and 2 deletions
|
@ -67,13 +67,13 @@ const Poll: React.FC<IPoll> = ({ id, status }): JSX.Element | null => {
|
|||
return (
|
||||
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
||||
<div onClick={e => e.stopPropagation()}>
|
||||
{poll.multiple && (
|
||||
{!showResults && poll.multiple && (
|
||||
<Text theme='muted' size='sm'>
|
||||
{intl.formatMessage(messages.multiple)}
|
||||
</Text>
|
||||
)}
|
||||
|
||||
<Stack space={4} className={classNames('mt-4')}>
|
||||
<Stack space={4} className='mt-4'>
|
||||
<Stack space={2}>
|
||||
{poll.options.map((option, i) => (
|
||||
<PollOption
|
||||
|
|
Loading…
Reference in a new issue