From e98d727e92b3e94cbeebcf6b7838d48a2432a310 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/src/components/Header.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/frontend/src/components/Header.tsx b/code/frontend/src/components/Header.tsx index 47993f1..9841a4a 100644 --- a/code/frontend/src/components/Header.tsx +++ b/code/frontend/src/components/Header.tsx @@ -19,7 +19,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); } @@ -63,7 +63,7 @@ function Header() { ); return ( -
+ <>
featherIcon

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

+ ); }