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){