Fix reload (#1154)

This commit is contained in:
Geometrically 2023-05-15 10:41:57 -07:00 committed by GitHub
parent 82b96d1a14
commit a349aed94c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,10 +333,7 @@ export default defineNuxtComponent({
},
async setup() {
const user = await useUser()
if (process.client) {
await initUserProjects()
}
await initUserProjects()
return { user: ref(user) }
},
data() {