COMPATIBILITY CI | Adding setGameTime function in the list of dependencies
This commit is contained in:
parent
5f92b1bec2
commit
72b7cec9af
|
|
@ -15,7 +15,7 @@ export default function Timer() {
|
||||||
// setCurrentTime(currentTime);
|
// setCurrentTime(currentTime);
|
||||||
|
|
||||||
return () => clearInterval(intervalId);
|
return () => clearInterval(intervalId);
|
||||||
}, [hasCheckedTutorial, gameTime, isTimeRuning]);
|
}, [hasCheckedTutorial, gameTime, isTimeRuning, setGameTime]);
|
||||||
|
|
||||||
const gameFormatedTime = formatCurrentTime(gameTime);
|
const gameFormatedTime = formatCurrentTime(gameTime);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user