From a41b5ff6cb4f1968ad81b8d8ac7e1033eb3b984d Mon Sep 17 00:00:00 2001 From: Niklas <198754647+BlankAccountsUsername@users.noreply.github.com> Date: Tue, 24 Jun 2025 20:26:08 +0200 Subject: [PATCH] do small changes from PR comments --- code/frontend/public/index.html | 2 +- code/frontend/src/components/Header.tsx | 6 +++--- code/frontend/src/components/header.css | 6 ------ 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/code/frontend/public/index.html b/code/frontend/public/index.html index bc74583..78ee09b 100644 --- a/code/frontend/public/index.html +++ b/code/frontend/public/index.html @@ -7,7 +7,7 @@ diff --git a/code/frontend/src/components/Header.tsx b/code/frontend/src/components/Header.tsx index cb076d2..03d9ab1 100644 --- a/code/frontend/src/components/Header.tsx +++ b/code/frontend/src/components/Header.tsx @@ -22,7 +22,7 @@ function Header() { // TODO const logOut = async () => { try { - const response = await axios.delete("http://localhost:3001/api/user/delete"); + const response = await axios.delete("http://localhost:3001/api/user/logout"); } catch (err: any) { console.error("error: ", err.response.data); } @@ -66,7 +66,7 @@ function Header() { ); return ( -
+ <>
featherIcon

@@ -82,7 +82,7 @@ function Header() { > {DrawerList} -

+ ); } diff --git a/code/frontend/src/components/header.css b/code/frontend/src/components/header.css index b47e37a..0f5bc45 100644 --- a/code/frontend/src/components/header.css +++ b/code/frontend/src/components/header.css @@ -1,9 +1,3 @@ -.outest-container { - display: flex; - flex-direction: row; - justify-content: baseline; - z-index: 1000000; -} .base-header { z-index: 10; width: 100vw;