From 523e00d5dca94c74a5520f2b648c64a241bdf7d4 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Tue, 21 Oct 2025 23:30:27 +0200 Subject: [PATCH] fix some things --- src/App/App.tsx | 1 - src/Plant/DigitalWatch/DigitalWatch.tsx | 2 +- src/VisualEditor/VisualEditor.tsx | 2 -- src/statecharts/interpreter.ts | 3 +-- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/App/App.tsx b/src/App/App.tsx index a794fcd..00eb173 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -314,7 +314,6 @@ export function App() { )} {rtIdx!==undefined && } - {/* */} diff --git a/src/Plant/DigitalWatch/DigitalWatch.tsx b/src/Plant/DigitalWatch/DigitalWatch.tsx index 635f19a..376cb14 100644 --- a/src/Plant/DigitalWatch/DigitalWatch.tsx +++ b/src/Plant/DigitalWatch/DigitalWatch.tsx @@ -43,7 +43,7 @@ export function DigitalWatch({light, h, m, s, alarm, callbacks}: DigitalWatchPro : } - {hhmmss} + {hhmmss} callbacks.onTopLeftPressed()} diff --git a/src/VisualEditor/VisualEditor.tsx b/src/VisualEditor/VisualEditor.tsx index aab1440..392a4a8 100644 --- a/src/VisualEditor/VisualEditor.tsx +++ b/src/VisualEditor/VisualEditor.tsx @@ -79,8 +79,6 @@ export function VisualEditor({state, setState, ast, setAST, rt, errors, setError const [dragging, setDragging] = useState(false); - console.log(ast); - // uid's of selected rountangles // const [selection, setSelection] = useState([]); const selection = state.selection || []; diff --git a/src/statecharts/interpreter.ts b/src/statecharts/interpreter.ts index ecbb219..447c64c 100644 --- a/src/statecharts/interpreter.ts +++ b/src/statecharts/interpreter.ts @@ -169,7 +169,6 @@ export function enterStates(simtime: number, state: ConcreteState, toEnter: Set< // exit the given state and all its active descendants export function exitCurrent(simtime: number, state: ConcreteState, rt: EnteredScope): ActionScope { - console.log('exitCurrent', state); let {enteredStates, history, ...actionScope} = rt; if (enteredStates.has(state.uid)) { @@ -298,7 +297,7 @@ export function fireTransition(simtime: number, t: Transition, ts: Map