refactor: move all ZMQ to API

also removed a lot of logs to the console to avoid cluttering

ref: N25B-400
This commit is contained in:
Pim Hutting
2026-01-15 09:24:51 +01:00
parent 7d00f35990
commit 714ee34bbe
3 changed files with 26 additions and 26 deletions

View File

@@ -109,12 +109,12 @@ const MonitoringPage: React.FC = () => {
// payload.norms is typed on the union, so safe to use directly
payload.norms.forEach((normUpdate) => {
nextState[normUpdate.id] = normUpdate.active;
console.log(`Conditional norm ${normUpdate.id} set to active: ${normUpdate.active}`);
});
return nextState;
});
console.log("Updated conditional norms state:", payload.norms);
//commented out to avoid cluttering
//console.log("Updated conditional norms state:", payload.norms);
}
}, [getPhaseIds, getGoalsInPhase, phaseIds, phaseIndex]);