diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 801f5c7f..4b885403 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -5,13 +5,15 @@ import { computed } from "vue"; const route = useRoute(); - await auth.loadUser(); - interface RouteMeta { requiresAuth?: boolean; } const showMenuBar = computed(() => (route.meta as RouteMeta).requiresAuth && auth.authState.user); + + auth.loadUser().catch((_error) => { + // TODO Could not load user! + });