1
0

Updated the waiting time in the Game.jsx

This commit is contained in:
Mathias Wagner 2023-11-19 16:44:56 +01:00
parent b6ef4ea582
commit 23df227fd9
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -15,7 +15,7 @@ export const Game = () => {
useEffect(() => { useEffect(() => {
const timeout = setTimeout(() => { const timeout = setTimeout(() => {
setCurrentState("waiting"); setCurrentState("waiting");
}, 5000); }, 6000);
return () => clearTimeout(timeout); return () => clearTimeout(timeout);
}, []); }, []);