do small changes from PR comments

This commit is contained in:
Niklas 2025-06-24 20:26:08 +02:00 committed by BlankAccountsUsername
parent ca761d8181
commit e98d727e92

View file

@ -19,7 +19,7 @@ function Header() {
// TODO // TODO
const logOut = async () => { const logOut = async () => {
try { 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) { } catch (err: any) {
console.error("error: ", err.response.data); console.error("error: ", err.response.data);
} }
@ -63,7 +63,7 @@ function Header() {
); );
return ( return (
<div className="outest-container" > <>
<header className="base-header"> <header className="base-header">
<div className="header-icon"> <img className="header-icon-feather" src='/assets/icons/BirdIconO.ico' alt="featherIcon" /> </div> <div className="header-icon"> <img className="header-icon-feather" src='/assets/icons/BirdIconO.ico' alt="featherIcon" /> </div>
<p className="header-title"> <p className="header-title">
@ -79,7 +79,7 @@ function Header() {
> >
{DrawerList} {DrawerList}
</SwipeableDrawer> </SwipeableDrawer>
</div> </>
); );
} }