We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac24b11 commit 4a9bcb9Copy full SHA for 4a9bcb9
src/TrainSimulator.js
@@ -11,7 +11,7 @@ function TrainSimulator() {
11
if (isRunning) {
12
intervalRef.current = setInterval(() => {
13
console.log({ speed, throttle, pressure });
14
- }, 1000);
+ }, 100);
15
} else {
16
clearInterval(intervalRef.current);
17
}
0 commit comments