Move session management into session store

Trying to get rid of the redirect to signin on any page refresh
This commit is contained in:
Eli Ribble 2026-04-17 14:52:02 +00:00
parent bf156eaf7f
commit efa01cffc2
No known key found for this signature in database
8 changed files with 34 additions and 69 deletions

View file

@ -1,15 +1,9 @@
<template>
<div id="content">
<div v-if="session.loading">Loading...</div>
<div v-else-if="session.error">Error: {{ session.error }}</div>
<slot />
</div>
</template>
<script setup lang="ts">
import { useSessionStore } from "@/store/session";
const session = useSessionStore();
</script>
<script setup lang="ts"></script>
<style scoped></style>