mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-25 09:32:43 +00:00
fix(challenge/preact): wait a little longer to be extra safe
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -32,7 +32,7 @@ const App = () => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const timer = setTimeout(() => {
|
const timer = setTimeout(() => {
|
||||||
setPassed(true);
|
setPassed(true);
|
||||||
}, state.difficulty * 100);
|
}, state.difficulty * 125);
|
||||||
|
|
||||||
return () => clearTimeout(timer);
|
return () => clearTimeout(timer);
|
||||||
}, [challenge]);
|
}, [challenge]);
|
||||||
|
|||||||
Reference in New Issue
Block a user