Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<header>{poll.votes.length}</header>
{isFinished(poll) ? (
<header>{formatDate(poll.closes_at)}</header>
) : (
<header>{distanceInWordsToNow(poll.closes_at, false)}</header>
)}
<>
<div>
<div>
</div>
</div>
<div>
<div>
{currentResults.map((result, index) => (
{result.option.value}
</div></div>
values={{
sign_in_link: (
{t('poll_detail_page.sign_in_link')}
)
}}
/>
)}
<p></p>
)}
<div>
{currentResults.map((result, index) => (
{result.option.value}
))}
</div>
{noVotes ? null : (