From d0d8fc3fba7f5b68228f9dd27ae488777c305444 Mon Sep 17 00:00:00 2001 From: rsdexter Date: Mon, 27 Apr 2020 14:41:20 -0400 Subject: [PATCH] removed console logs --- src/canvas/Canvas.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/canvas/Canvas.js b/src/canvas/Canvas.js index 27a1f20..3909852 100644 --- a/src/canvas/Canvas.js +++ b/src/canvas/Canvas.js @@ -148,13 +148,11 @@ class Canvas extends React.Component { let erased = this.findID(step, id); console.log(erased) if (!erased) { - console.log("Selection ID not found for Erasure.") return false; } // Get the parent of the erased section let parent = this.findParent(step, id) if (!parent) { - console.log("Parent of ID not found for Erasure.") return false; } // Remove the erased data from the parent's data array @@ -162,7 +160,6 @@ class Canvas extends React.Component { if (index > -1) parent.data.splice(index, 1); else { - console.log("Selection not found under its parent.") return false; } // Update the state -- 2.51.2