mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 06:08:54 +00:00
do small changes from PR comments
This commit is contained in:
parent
ca761d8181
commit
e98d727e92
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue