Merge pull request 'fix(auth): fix async oversight in vue file' (#78) from release/nicolas/v1.1 into main
Reviewed-on: Targo/targo_frontend#78
This commit is contained in:
commit
fcd30ed81f
|
|
@ -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