diff --git a/app.vue b/app.vue index afa34bb..a8c7190 100644 --- a/app.vue +++ b/app.vue @@ -11,10 +11,7 @@ import "~/assets/global.css"; const event = useRequestEvent(); const sessionStore = useSessionStore(); -const eventsStore = useEventsStore(); -const nuxtApp = useNuxtApp(); -await callOnce("fetch-globals", async () => { +await callOnce("fetch-session", async () => { await sessionStore.fetch(event); - await nuxtApp.runWithContext(eventsStore.fetchLastEventId); }) diff --git a/components/CardEvent.vue b/components/CardEvent.vue index 0d90894..cec96b9 100644 --- a/components/CardEvent.vue +++ b/components/CardEvent.vue @@ -3,10 +3,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later -->