remove console.logs

This commit is contained in:
Ole Morud
2022-08-25 21:02:30 +02:00
parent a0eda5dffa
commit d8d0126662

View File

@@ -27,17 +27,14 @@ function Board() {
if (playing) {
intervalRef.current = setInterval(() => {
step()
console.log("a")
}, STEP_DELAY)
} else {
clearInterval(intervalRef.current)
console.log(program)
}
}, [playing])
useEffect(() => {
if (program.done) {
console.log("done")
const x = structuredClone(program)
resetProgram(x)
setPlaying(false)