diff --git a/app.vue b/app.vue index 28de944..bddfe3d 100644 --- a/app.vue +++ b/app.vue @@ -134,7 +134,10 @@ watch(width, () => { }) // useCSRF() -useAuth() +const {checkAuth} = useAuth() +onMounted(()=>{ + checkAuth() +})