<template>
	<Header />
	<NuxtPage />
</template>

<script setup lang="ts">
import "~/assets/global.css";
const event = useRequestEvent();
const sessionStore = useSessionStore();
await callOnce("fetch-session", async () => {
	await sessionStore.fetch(event);
})
</script>
