bugfix
This commit is contained in:
@@ -6,7 +6,7 @@ export const useAuthStore = defineStore("auth", () => {
|
||||
const user = ref({});
|
||||
checkToken();
|
||||
|
||||
const loggedIn = computed(() => !!user.username);
|
||||
const loggedIn = computed(() => !!user.value.username);
|
||||
|
||||
async function logOut() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user