Updated the waiting time in the Game.jsx

This commit is contained in:
2023-11-19 16:44:56 +01:00
parent b6ef4ea582
commit 23df227fd9

View File

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