|
@@ -3,6 +3,8 @@ import { ref } from "vue";
|
|
|
import { getCurrentUser } from "@/lib/api";
|
|
import { getCurrentUser } from "@/lib/api";
|
|
|
import { toast } from "vue-sonner";
|
|
import { toast } from "vue-sonner";
|
|
|
|
|
|
|
|
|
|
+console.log("DEBUG: Auth store file loaded");
|
|
|
|
|
+
|
|
|
export const useAuthStore = defineStore("auth", () => {
|
|
export const useAuthStore = defineStore("auth", () => {
|
|
|
const user = ref<any>(null);
|
|
const user = ref<any>(null);
|
|
|
const isLoading = ref(true);
|
|
const isLoading = ref(true);
|