Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbbbbbbbbbbba committed Feb 4, 2024
1 parent 043fd57 commit f503153
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions site/src/middleware/fetch.global.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export default defineNuxtRouteMiddleware(async () => {
const configStore = useConfigStore()
const userStore = useUserStore()
await Promise.all([
configStore.fetchConfig(),
userStore.fetchCurrent(),
])
const configStore = useConfigStore()
const userStore = useUserStore()
await Promise.all([
configStore.fetchConfig(),
userStore.fetchCurrent(),
])
})

0 comments on commit f503153

Please sign in to comment.