From 12dbf2482b04a06c4f02673ec4b6685d0c612785 Mon Sep 17 00:00:00 2001
From: danielmyren <daniel.j.myren@gmail.com>
Date: Thu, 15 Aug 2024 19:52:35 +0200
Subject: [PATCH] Change console message

---
 frontend/src/Components/Navbar/Navbar.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/frontend/src/Components/Navbar/Navbar.js b/frontend/src/Components/Navbar/Navbar.js
index a2c46a1..f3b4b05 100644
--- a/frontend/src/Components/Navbar/Navbar.js
+++ b/frontend/src/Components/Navbar/Navbar.js
@@ -11,11 +11,9 @@ import { GlobalContext } from '../../Context/GlobalContext';
 function TopNavBar({}) {
   const navigate = useNavigate();
   const {serverAddress, serverPort, loggedInStatus, setLoggedInStatus} = useContext(GlobalContext);
-  console.log(loggedInStatus);
 
   const handleSignOut = async (e) => {
 
-
     try {
       const response = await axios.post(serverAddress + ':' + serverPort + '/api/logout', {
         withCredentials: true, // Include credentials (cookies) in the request
@@ -26,9 +24,9 @@ function TopNavBar({}) {
 
       if (response.data.success) {
         
-        console.log("loginggg oiyt")
+        console.log("Logging out")
       } else {
-        console.log("No success logout")
+        console.log("Failed logout")
       }
 
     } catch (error) {
-- 
GitLab