fix(auth): fix async oversight in vue file
This commit is contained in:
parent
99419e24cf
commit
450fc28782
|
|
@ -35,8 +35,8 @@ import { useAuthApi } from 'src/modules/auth/composables/use-auth-api';
|
|||
});
|
||||
};
|
||||
|
||||
const handleLogout = () => {
|
||||
authApi.logout();
|
||||
const handleLogout = async () => {
|
||||
await authApi.logout();
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user