emove console log

This commit is contained in:
Itay Mizeretz 2017-10-15 18:12:41 +03:00
parent 02b02e43bb
commit 095f05370f
1 changed files with 0 additions and 2 deletions

View File

@ -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});
}
}