From fa506d76eeef292ae38754d5f35903a8d9c21494 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taneli=20Riihim=C3=A4ki?= <m3034@student.jamk.fi>
Date: Mon, 8 Jul 2019 13:13:14 +0300
Subject: [PATCH] Remove console.logs

---
 components/GameList.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/components/GameList.js b/components/GameList.js
index b511f78..ecb869c 100644
--- a/components/GameList.js
+++ b/components/GameList.js
@@ -135,7 +135,6 @@ class GameList extends Component {
     })
       .then(response => {
         if (response.ok) {
-          console.log("Homma OK!");
           this.setState({
             message: `Joined the faction`,
             messagePopupVisible: true
@@ -154,11 +153,10 @@ class GameList extends Component {
       })
       .catch(error => {
         this.setState({
-          message: "PERKELE : " + error.message,
+          message: error.message,
           messagePopupVisible: true,
           selectedFaction: this.state.factions[0]
         });
-        console.log("VIRHE: " + error);
       });
   }
   // Toggles the tracking boolean (some thought mistake somewhere makes this kinda weird ¯\_(ツ)_/¯ )
-- 
GitLab