From ebb3cd37bebe6642843db5b549643ba5db0c01b2 Mon Sep 17 00:00:00 2001 From: rgravitvl Date: Mon, 11 Dec 2023 17:46:46 +0530 Subject: [PATCH] fixed lint issues --- tools/importer/transformers/fullLayoutSection.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/importer/transformers/fullLayoutSection.js b/tools/importer/transformers/fullLayoutSection.js index c5e281d61..898dfa415 100644 --- a/tools/importer/transformers/fullLayoutSection.js +++ b/tools/importer/transformers/fullLayoutSection.js @@ -4,8 +4,7 @@ const createFullLayoutSection = (main, document) => { const div = e.querySelector('div'); const style = div.getAttribute('class'); if (style) { - - if(i === 0 && e.parentNode.previousElementSibling) e.prepend(document.createElement('hr')); + if (i === 0 && e.parentNode.previousElementSibling) e.prepend(document.createElement('hr')); const cells = [['Section Metadata'], ['style', style]]; const table = WebImporter.DOMUtils.createTable(cells, document); e.after(table);