COMPATIBILITY CI | Adding setGameTime function in the list of dependencies

This commit is contained in:
Antoine M 2024-09-12 12:58:38 +02:00
parent 5f92b1bec2
commit 72b7cec9af

View File

@ -15,7 +15,7 @@ export default function Timer() {
// setCurrentTime(currentTime);
return () => clearInterval(intervalId);
}, [hasCheckedTutorial, gameTime, isTimeRuning]);
}, [hasCheckedTutorial, gameTime, isTimeRuning, setGameTime]);
const gameFormatedTime = formatCurrentTime(gameTime);