mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-06 15:18:48 +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
|
||||
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 (
|
||||
<div className="outest-container" >
|
||||
<>
|
||||
<header className="base-header">
|
||||
<div className="header-icon"> <img className="header-icon-feather" src='/assets/icons/BirdIconO.ico' alt="featherIcon" /> </div>
|
||||
<p className="header-title">
|
||||
|
@ -79,7 +79,7 @@ function Header() {
|
|||
>
|
||||
{DrawerList}
|
||||
</SwipeableDrawer>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue