16 lines
252 B
Vue
16 lines
252 B
Vue
<script setup>
|
|
const { fetchUserProfile, isAuthenticated } = useAuth()
|
|
|
|
onMounted(() => {
|
|
if (isAuthenticated.value) {
|
|
fetchUserProfile()
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<GlobalLoader />
|
|
<NuxtLayout>
|
|
<NuxtPage />
|
|
</NuxtLayout>
|
|
</template>
|