diff --git a/src/GroupStats.js b/src/GroupStats.js index 301d18a..71004c0 100644 --- a/src/GroupStats.js +++ b/src/GroupStats.js @@ -346,6 +346,7 @@ export default withRouter(class GroupStats extends Component {
{ this.state.filteredIncorrectAnswers + .filter((vocabItem) => vocabItem.answers && vocabItem.answers.length > 0) .map((vocabItem, index) => { const sortedAnswers = vocabItem.answers .sort((a, b) => { @@ -370,7 +371,7 @@ export default withRouter(class GroupStats extends Component { vocabItem.switchedCount > 0 &&
{ - sortedAnswers + sortedAnswers .map((answerItem, index) => answerItem.switchLanguage && (

{answerItem.answer === "" ? skipped : answerItem.answer}

))