Skip to content

Commit

Permalink
chore: remove unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmate committed Jul 1, 2024
1 parent a310ff0 commit 1947f18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/DiagramEditor/DiagramEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ export default function App(props) {
const handleCellsMoved = (evt) => {
onCellsMoved(evt);
};

// Add the listener
graph.addListener(mxEvent.CELLS_MOVED, handleCellsMoved);

Expand Down Expand Up @@ -327,7 +326,6 @@ export default function App(props) {
accessCell(cell.at(0)).setVisible(false);
accessCell(cell.at(1)).setVisible(false);
});
// graph.removeCells(mxAttributesToRemove);
// NOTE: Refresh the graph to visually update the cell values
const graphView = graph.getDefaultParent();
const view = graph.getView(graphView);
Expand Down

0 comments on commit 1947f18

Please sign in to comment.