Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
smburdick committed Mar 6, 2024
1 parent 0ae0e9a commit 22034f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion frontend/src/workspace/graphics/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export default class Grid extends Graphics {
contains = (qubits) => {
const minX = Math.min(...this.visibleUnits().map((unit) => unit.x));
const minY = Math.min(...this.visibleUnits().map((unit) => unit.y));
console.log('Min x, min y', minX, minY);
const unitXs = new Set(this.visibleUnits().map((unit) => [unit.x, unit.x + this.gridSize]).flat());
const unitYs = new Set(this.visibleUnits().map((unit) => [unit.y, unit.y + this.gridSize]).flat());
for (const qubit of qubits) {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/workspace/graphics/GridUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default class GridUnit extends Graphics {
}
// Check whether the click was within the bounds of the grid unit
if (relativeX === this.x && relativeY === this.y) {
console.log('Toggling visibility of ', this.name);
this.visible = !this.visible;
}
};
Expand Down

0 comments on commit 22034f2

Please sign in to comment.