Skip to content

Commit 4a9bcb9

Browse files
authored
change to tenth second
1 parent ac24b11 commit 4a9bcb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TrainSimulator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function TrainSimulator() {
1111
if (isRunning) {
1212
intervalRef.current = setInterval(() => {
1313
console.log({ speed, throttle, pressure });
14-
}, 1000);
14+
}, 100);
1515
} else {
1616
clearInterval(intervalRef.current);
1717
}

0 commit comments

Comments
 (0)