<template>
  <NuxtLayout>
    <NuxtPage />
  </NuxtLayout>
</template>

<script setup>
// Initialize auth on app mount
const { fetchUser } = useAuth()

onMounted(async () => {
  await fetchUser()
})
</script>
