From 7da44c5d8a19df3c36991e060004ad92c39ac510 Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Mon, 30 Aug 2021 16:46:48 +0200 Subject: [PATCH] fix linter issue --- cypress/integration/unit/utilities.js | 1 - src/editor/panels/LeftPanel.js | 1 - 2 files changed, 2 deletions(-) diff --git a/cypress/integration/unit/utilities.js b/cypress/integration/unit/utilities.js index c30ea97e..d02c8c68 100644 --- a/cypress/integration/unit/utilities.js +++ b/cypress/integration/unit/utilities.js @@ -226,7 +226,6 @@ describe('utilities', function () { }); svgroot.append(elem); const closeEnough = /M0,4 C0,2.3\d* 0.9\d*,1 2,1 L8,1 C9.0\d*,1 10,2.3\d* 10,4 L10,9 C10,10.6\d* 9.0\d*,12 8,12 L2,12 C0.9\d*,12 0,10.6\d* 0,9 L0,4 Z/; - console.log(getPathDFromElement(elem), closeEnough); assert.equal(closeEnough.test(getPathDFromElement(elem)), true); elem.remove(); diff --git a/src/editor/panels/LeftPanel.js b/src/editor/panels/LeftPanel.js index a2b0c524..ec57303f 100644 --- a/src/editor/panels/LeftPanel.js +++ b/src/editor/panels/LeftPanel.js @@ -195,7 +195,6 @@ class LeftPanel { * @type {module} */ init() { - const { i18next } = this.editor; const { imgPath } = this.editor.configObj.curConfig; // add Left panel