<div className="please-wait">
<h2>Submission received</h2>
<p>
- The following players have completed judging:
+ The following players have completed judging:{' '}
{[...this.props.players_judged].join(', ')}
</p>
<p>
<div className="please-wait">
<h2>Submission received</h2>
<p>
- The following players have submitted their answers:
+ The following players have submitted their answers:{' '}
{[...this.props.players_answered].join(', ')}
</p>
<p>
{state.scores.scores.map(score => {
return (
<li key={score.player}>
- {score.player}: {score.score}
+ {score.players.join("/")}: {score.score}
</li>
);
})}
{state.scores.words.map(word => {
return (
<li key={word.word}>
- {`${word.word}: ${word.players.join(', ')}`}
+ {word.word} ({word.players.length}): {word.players.join(', ')}
</li>
);
})}