Skip to content

Commit

Permalink
Merge pull request #982 from Amsterdam-Music-Lab/bugfix-er/mp-respons…
Browse files Browse the repository at this point in the history
…e-interval-first-move

reset response interval
  • Loading branch information
Evert-R authored Apr 30, 2024
2 parents 2290159 + 52cb715 commit 09c2b6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/MatchingPairs/MatchingPairs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ const MatchingPairs = ({
currentCard.noevents = true;
currentCard.seen = true;
currentCard.boardposition = parseInt(index) + 1;
currentCard.timestamp = performance.now();
currentCard.timestamp = performance.now();
// reset response interval in case this card has a value from a previous turn
currentCard.response_interval_ms = '';
// clear feedback text
setFeedbackText('');
}
Expand Down

0 comments on commit 09c2b6a

Please sign in to comment.