this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix bug due to votersCount can be null if multiple=false

+7 -8
+7 -8
src/components/status.jsx
··· 1134 1134 &bull;{' '} 1135 1135 </> 1136 1136 )} 1137 - <span title={votersCount}>{shortenNumber(votersCount)}</span>{' '} 1138 - {votersCount === 1 ? 'voter' : 'voters'} 1139 - {votersCount !== votesCount && ( 1137 + <span title={votesCount}>{shortenNumber(votesCount)}</span> vote 1138 + {votesCount === 1 ? '' : 's'} 1139 + {!!votersCount && votersCount !== votesCount && ( 1140 1140 <> 1141 1141 {' '} 1142 - &bull; <span title={votesCount}> 1143 - {shortenNumber(votesCount)} 1144 - </span>{' '} 1145 - vote 1146 - {votesCount === 1 ? '' : 's'} 1142 + &bull;{' '} 1143 + <span title={votersCount}>{shortenNumber(votersCount)}</span>{' '} 1144 + voter 1145 + {votersCount === 1 ? '' : 's'} 1147 1146 </> 1148 1147 )}{' '} 1149 1148 &bull; {expired ? 'Ended' : 'Ending'}{' '}