We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b330b2 commit 546a901Copy full SHA for 546a901
1 file changed
cue-client/src/components/study-stack.tsx
@@ -124,6 +124,16 @@ function CardFlipper({
124
setFlipped((prev) => !prev);
125
setShowScores(true);
126
}
127
+ if (e.key === '1') {
128
+ e.preventDefault();
129
+ updateScore(0);
130
+ } else if (e.key === '2') {
131
132
+ updateScore(1);
133
+ } else if (e.key === '3') {
134
135
+ updateScore(2);
136
+ }
137
};
138
document.addEventListener('keydown', handleKeyDown);
139
return () => document.removeEventListener('keydown', handleKeyDown);
0 commit comments