From 3390598bb74415d022e72b65f084c307903d0320 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Tue, 13 Sep 2022 11:00:08 -0600 Subject: [PATCH] Removed logging --- front/dashboard.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/front/dashboard.js b/front/dashboard.js index 7b194b7..e24335c 100644 --- a/front/dashboard.js +++ b/front/dashboard.js @@ -19,7 +19,6 @@ function PeerList() { // Initial loading self.getUser = async () => { - console.log(`Getting user...`) let res; try { res = await fetch(`${API_URL}/`) } catch (err) { @@ -35,13 +34,11 @@ function PeerList() { console.error('Failed to parse JSON!') if (err) console.error(err) } - console.log(user) self.peers( user.peers.sort( (a,b) => a.ipv4.split('.')[3] - b.ipv4.split('.')[3]) .map( (i)=>new Peer(i)) ) - console.log(self.peers()) self.token = user.token } }