fix(challenge/preact): ensure that the client waits as long as it needs to

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-08-29 19:12:38 +00:00
parent 9557442294
commit f2a60fedcc
2 changed files with 7 additions and 2 deletions

View File

@@ -34,8 +34,6 @@ const App = () => {
setPassed(true);
}, state.difficulty * 100);
console.log(challenge);
return () => clearTimeout(timer);
}, [challenge]);