Initial commit
This commit is contained in:
20
app/pages/confirm.vue
Normal file
20
app/pages/confirm.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<UEmpty
|
||||
:title="$t('confirm.signingIn')"
|
||||
:description="$t('confirm.redirectedSoon')"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
layout: 'empty'
|
||||
})
|
||||
|
||||
const { isAuthenticated } = storeToRefs(useUser())
|
||||
|
||||
watch(isAuthenticated, () => {
|
||||
if (isAuthenticated.value) {
|
||||
return navigateTo('/profile')
|
||||
}
|
||||
}, { immediate: true })
|
||||
</script>
|
||||
Reference in New Issue
Block a user