fix: Remove console log statements for cleaner output
This commit is contained in:
parent
b5ba3a0ce1
commit
a6993ccd2e
|
@ -150,7 +150,6 @@ async function handleModelLoad(
|
||||||
const organization = email ? email.split("@")[1].split(".")[0] : "";
|
const organization = email ? email.split("@")[1].split(".")[0] : "";
|
||||||
|
|
||||||
getAssetEventType(selectedItem.id, organization).then(async (res) => {
|
getAssetEventType(selectedItem.id, organization).then(async (res) => {
|
||||||
console.log('res: ', res);
|
|
||||||
|
|
||||||
if (res.type === "Conveyor") {
|
if (res.type === "Conveyor") {
|
||||||
const pointUUIDs = res.points.map(() => THREE.MathUtils.generateUUID());
|
const pointUUIDs = res.points.map(() => THREE.MathUtils.generateUUID());
|
||||||
|
|
|
@ -513,7 +513,6 @@ function PathConnector({ pathsGroupRef }: { pathsGroupRef: React.MutableRefObjec
|
||||||
|
|
||||||
// For Vehicles, check if they're already connected to anything
|
// For Vehicles, check if they're already connected to anything
|
||||||
if (intersected.userData.path.type === 'Vehicle') {
|
if (intersected.userData.path.type === 'Vehicle') {
|
||||||
console.log('intersected: ', intersected);
|
|
||||||
const vehicleConnections = intersected.userData.path.points.connections.targets.length;
|
const vehicleConnections = intersected.userData.path.points.connections.targets.length;
|
||||||
if (vehicleConnections >= 1) {
|
if (vehicleConnections >= 1) {
|
||||||
console.log("Vehicle can only have one connection");
|
console.log("Vehicle can only have one connection");
|
||||||
|
|
|
@ -19,7 +19,7 @@ function Simulation() {
|
||||||
const [processes, setProcesses] = useState([]);
|
const [processes, setProcesses] = useState([]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log('simulationStates: ', simulationStates);
|
// console.log('simulationStates: ', simulationStates);
|
||||||
}, [simulationStates]);
|
}, [simulationStates]);
|
||||||
|
|
||||||
// useEffect(() => {
|
// useEffect(() => {
|
||||||
|
|
Loading…
Reference in New Issue