score:0

Accepted answer
    const reset = useCallback(() => {
        setGameTime(1);
        setIsGameActive(false); //ignored
    },[])


Related Query

More Query from same tag