Removed eccessive parameter in map method call

no issue

- There are only two parameters in `map` method. The one used here was probably some leftover from reduce or was put there by mistake
This commit is contained in:
Naz 2021-08-30 12:11:16 +04:00
parent 192f0d07ba
commit c9358bdddb

View File

@ -32,7 +32,7 @@ class BaseSiteMapGenerator {
ts: -(self.nodeTimeLookup[id] || 0),
node: node
};
}, []);
});
// Sort nodes by timestamp
const sortedNodes = _.sortBy(timedNodes, 'ts');