feat: Remove negative scores

This commit is contained in:
Alexander Polynomdivision 2018-10-02 17:32:09 +02:00
parent 26407b6cb7
commit cee5680a6a

View File

@ -198,7 +198,6 @@ const ReviewPageWithRouter = withRouter(
// Check if the user's answer was correct // Check if the user's answer was correct
if (minDist === 0) { if (minDist === 0) {
this.updateGroupSM2(true); this.updateGroupSM2(true);
// TODO: Is this the correct amount of points?
this.score_delta += 1; this.score_delta += 1;
// Empty the input field // Empty the input field
@ -242,8 +241,6 @@ const ReviewPageWithRouter = withRouter(
vocabToReviewCard(vocab).forEach(this.reviewQueue.enqueue); vocabToReviewCard(vocab).forEach(this.reviewQueue.enqueue);
} }
// TODO: Is this the correct amount
this.score_delta -= 1;
this.props.setReview(this.props.current, this.increaseMeta(0, 1)); this.props.setReview(this.props.current, this.increaseMeta(0, 1));
this.props.setPopover(true, "Das war nicht richtig", "red", "white"); this.props.setPopover(true, "Das war nicht richtig", "red", "white");
} }