From 095f05370fb8559c2058683e3f01e2313bd74c7c Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Sun, 15 Oct 2017 18:12:41 +0300 Subject: [PATCH] emove console log --- monkey_island/cc/ui/src/components/pages/MapPage.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/monkey_island/cc/ui/src/components/pages/MapPage.js b/monkey_island/cc/ui/src/components/pages/MapPage.js index f59018425..fb738ab82 100644 --- a/monkey_island/cc/ui/src/components/pages/MapPage.js +++ b/monkey_island/cc/ui/src/components/pages/MapPage.js @@ -100,7 +100,6 @@ class MapPageComponent extends React.Component { selectionChanged(event) { if (event.nodes.length === 1) { - console.log('selected node:', event.nodes[0]); // eslint-disable-line no-console fetch('/api/netmap/node?id=' + event.nodes[0]) .then(res => res.json()) .then(res => this.setState({selected: res, selectedType: 'node'})); @@ -119,7 +118,6 @@ class MapPageComponent extends React.Component { } } else { - console.log('selection cleared.'); // eslint-disable-line no-console this.setState({selected: null, selectedType: null}); } }