refactor: Simplify eventData structure in controls and remove console logs from simulation
This commit is contained in:
@@ -245,9 +245,6 @@ function processEventData(item: Types.EventData, setSimulationStates: any) {
|
||||
},
|
||||
position: item.position
|
||||
};
|
||||
|
||||
console.log(staticMachine);
|
||||
|
||||
|
||||
setSimulationStates((prevEvents: (Types.ConveyorEventsSchema | Types.VehicleEventsSchema | Types.StaticMachineEventsSchema)[]) => [
|
||||
...(prevEvents || []),
|
||||
|
||||
Reference in New Issue
Block a user