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:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user