Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
f-r00t committed Nov 23, 2024
1 parent 25d43ba commit 359848b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/lib/components/NodeSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
}
nodeList = await getNodeList();
console.log(nodeList);
});
const dispatch = new createEventDispatcher();
Expand Down Expand Up @@ -74,7 +73,6 @@
};
const chooseNode = async (pickedNode, i) => {
console.log('Indexxx', i);
$node.loading = true;
nodeInput = `${pickedNode.url}:${pickedNode.port}`;
selectedNode = i;
Expand Down Expand Up @@ -124,7 +122,6 @@
if (resp.ok) {
loadingNode = false;
console.log('indexz', nodeList.indexOf(this_node));
const nodeIndex = nodeList.find((a) => a.url === this_node.url && a.ssl === this_node.ssl);
chooseNode(this_node, nodeList.indexOf(nodeIndex));
Expand All @@ -150,19 +147,11 @@
.then((response) => {
node.online = true;
nodeList = nodeList;
// this.setState({
// nodes: Globals.daemons,
// forceUpdate: this.state.forceUpdate + 1,
// });
})
.catch((error) => {
// Handle errors here
node.online = false;
nodeList = nodeList;
// this.setState({
// nodes: Globals.daemons,
// forceUpdate: this.state.forceUpdate + 1,
// });
});
fetchPromises.push(fetchPromise);
}
Expand Down

0 comments on commit 359848b

Please sign in to comment.