This commit is contained in:
2023-02-24 15:14:06 +01:00
parent a21af7d08b
commit a4455f7450
4 changed files with 64 additions and 31 deletions

View File

@ -229,9 +229,9 @@ export const upload = (file: File, qr: string = '', onUploadProgress: any = null
// return data;
// }
export const logOut = () =>
export const logOut = async () =>
{
Axios.post('logout.php')
await Axios.post('logout.php')
.then((res) =>
{
console.log('Header logout');