You've already forked AstralRinth
forked from didirus/AstralRinth
Fix logged in user stall (#1114)
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
export default defineNuxtPlugin(async (nuxtApp) => {
|
||||
const authStore = await useAuth()
|
||||
const userStore = await useUser(true)
|
||||
await useUser()
|
||||
const cosmeticsStore = useCosmetics()
|
||||
const tagsStore = useTags()
|
||||
|
||||
nuxtApp.provide('auth', authStore.value)
|
||||
nuxtApp.provide('user', userStore)
|
||||
nuxtApp.provide('cosmetics', cosmeticsStore.value)
|
||||
nuxtApp.provide('tag', tagsStore.value)
|
||||
nuxtApp.provide('notify', (notif) => addNotification(notif))
|
||||
|
||||
Reference in New Issue
Block a user