mirror of
https://github.com/h44z/wg-portal.git
synced 2025-10-07 00:46:18 +00:00
chore(deps): update frontend packages (#387)
This commit is contained in:
@@ -4,8 +4,7 @@ import { notify } from "@kyvg/vue3-notification";
|
||||
import { apiWrapper } from '@/helpers/fetch-wrapper'
|
||||
import router from '../router'
|
||||
|
||||
export const authStore = defineStore({
|
||||
id: 'auth',
|
||||
export const authStore = defineStore('auth',{
|
||||
state: () => ({
|
||||
// initialize state from local storage to enable user to stay logged in
|
||||
user: JSON.parse(localStorage.getItem('user')),
|
||||
@@ -122,4 +121,4 @@ export const authStore = defineStore({
|
||||
}
|
||||
},
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user