From 58243c37a47fe33c1655a3781f69b89384dfff5f Mon Sep 17 00:00:00 2001 From: katarzynadunikowska Date: Tue, 27 Jun 2017 15:57:13 +0200 Subject: [PATCH] clean code #923 --- src/actions/WindowActions.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/actions/WindowActions.js b/src/actions/WindowActions.js index 1e2774ac3..297cdb1e7 100644 --- a/src/actions/WindowActions.js +++ b/src/actions/WindowActions.js @@ -826,8 +826,6 @@ export function mapIncluded( let ind = indent ? indent : []; let result = []; - let includedMap = []; - const nodeCopy = Object.assign({}, node, { indent: ind }); @@ -839,7 +837,6 @@ export function mapIncluded( } if(node.includedDocuments){ - includedMap = includedMap.push(node); for(let i = 0; i < node.includedDocuments.length; i++){ let copy = node.includedDocuments[i]; if(i === node.includedDocuments.length - 1){