fix: refresh poll result correctly
This commit is contained in:
@@ -363,7 +363,7 @@ class FlowItem extends PureComponent {
|
|||||||
{info.poll && (
|
{info.poll && (
|
||||||
<div className="box-poll">
|
<div className="box-poll">
|
||||||
<Poll
|
<Poll
|
||||||
key={info.poll.vote || 'x'}
|
key={info.poll.answers.map((a) => a.votes).join('_')}
|
||||||
question={''}
|
question={''}
|
||||||
answers={info.poll.answers}
|
answers={info.poll.answers}
|
||||||
onVote={do_vote}
|
onVote={do_vote}
|
||||||
|
|||||||
Reference in New Issue
Block a user