<template>
  <router-view />
</template>

<script setup>
import { onMounted } from 'vue'
import { useCustomerStore } from 'src/stores/customer'

const store = useCustomerStore()
onMounted(() => {
  store.init().catch(() => {
    // Auth not available (standalone portal mode) — continue as guest
    console.info('[Portal] Auth unavailable — running in guest mode')
  })
})
</script>
