Skip to content
Snippets Groups Projects
Commit fa506d76 authored by Taneli Riihimäki's avatar Taneli Riihimäki
Browse files

Remove console.logs

parent 171fd719
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,6 @@ class GameList extends Component { ...@@ -135,7 +135,6 @@ class GameList extends Component {
}) })
.then(response => { .then(response => {
if (response.ok) { if (response.ok) {
console.log("Homma OK!");
this.setState({ this.setState({
message: `Joined the faction`, message: `Joined the faction`,
messagePopupVisible: true messagePopupVisible: true
...@@ -154,11 +153,10 @@ class GameList extends Component { ...@@ -154,11 +153,10 @@ class GameList extends Component {
}) })
.catch(error => { .catch(error => {
this.setState({ this.setState({
message: "PERKELE : " + error.message, message: error.message,
messagePopupVisible: true, messagePopupVisible: true,
selectedFaction: this.state.factions[0] selectedFaction: this.state.factions[0]
}); });
console.log("VIRHE: " + error);
}); });
} }
// Toggles the tracking boolean (some thought mistake somewhere makes this kinda weird ¯\_(ツ)_/¯ ) // Toggles the tracking boolean (some thought mistake somewhere makes this kinda weird ¯\_(ツ)_/¯ )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment