From 85af7f0f39486dc8abace531228563fcb932f0a4 Mon Sep 17 00:00:00 2001
From: Ilija Lazoroski <ilija.la@live.com>
Date: Thu, 4 Aug 2022 13:41:40 +0200
Subject: [PATCH] UI: Remove leftovers in VersionComponent

---
 .../cc/ui/src/components/logo/VersionComponent.js              | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/monkey/monkey_island/cc/ui/src/components/logo/VersionComponent.js b/monkey/monkey_island/cc/ui/src/components/logo/VersionComponent.js
index 34d164f4a..fe93158ec 100644
--- a/monkey/monkey_island/cc/ui/src/components/logo/VersionComponent.js
+++ b/monkey/monkey_island/cc/ui/src/components/logo/VersionComponent.js
@@ -15,7 +15,7 @@ class VersionComponent extends AuthComponent {
   }
 
   componentDidMount() {
-    this.authFetch('/api/island/version') // This is not authenticated on purpose
+    this.authFetch('/api/island/version')
       .then(res => res.json())
       .then(res => {
         this.setState({
@@ -28,7 +28,6 @@ class VersionComponent extends AuthComponent {
 
   newerVersionAvailable() {
     const semverGt = require('semver/functions/gt');
-    console.log(this.state);
     if(this.state.latestVersion !== undefined && this.state.versionNumber !== undefined) {
       return semverGt(this.state.latestVersion, this.state.versionNumber);
     }