Move boat data to store

This commit is contained in:
2023-11-21 08:09:49 -05:00
parent 2416a2dcfa
commit 7c0507daee
8 changed files with 81 additions and 32 deletions

View File

@@ -2,7 +2,6 @@ import { defineStore } from 'pinia';
import { ID, account } from 'boot/appwrite';
import type { Models } from 'appwrite';
import { ref } from 'vue';
import { useRouter } from 'vue-router';
export const useAuthStore = defineStore('auth', () => {
const currentUser = ref<Models.User<Models.Preferences> | null>(null);