Skip to content

Commit 0a04fb0

Browse files
committed
feat: reset a lesson after 10 seconds of inactivity
1 parent e6de3c6 commit 0a04fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/page-practice/lib/practice/Controller.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function usePracticeState(state: PracticeState) {
7777
const feedback = state.onTextInput(event);
7878
setLines(state.lines);
7979
playSounds(feedback);
80-
timeout.schedule(handleResetLesson, 5000);
80+
timeout.schedule(handleResetLesson, 10000);
8181
},
8282
},
8383
state.settings.get(keyboardProps.emulate),

0 commit comments

Comments
 (0)