1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 06:00:06 +02:00

style(ui-toolkit): comment un-used variable

This commit is contained in:
Sérgio Ramos 2017-07-12 14:35:55 +01:00 committed by Sérgio Ramos
parent b97e5679bf
commit 1533bf5d6e

View File

@ -79,7 +79,7 @@ class Topology extends React.Component {
getNextNodes(nextServices) { getNextNodes(nextServices) {
const nodes = this.state.nodes; const nodes = this.state.nodes;
let notConnectedX = 0; // let notConnectedX = 0;
return nodes.reduce((nextNodes, node) => { return nodes.reduce((nextNodes, node) => {
const keep = nextServices.filter(nextService => nextService.id === node.id).length; const keep = nextServices.filter(nextService => nextService.id === node.id).length;
if(keep) { if(keep) {