fix new poll key warning

This commit is contained in:
Ramon Souza 2021-04-08 15:42:06 -03:00
parent b6a29fb56d
commit b4f91f443e

View File

@ -313,9 +313,8 @@ class Poll extends Component {
if (o.val.length > 0) hasVal = true;
const pollOptionKey = `poll-option-${i}`;
return (
<span>
<span key={pollOptionKey}>
<div
key={pollOptionKey}
style={{
display: 'flex',
justifyContent: 'spaceBetween',