Fix reload (#1154)
This commit is contained in:
parent
82b96d1a14
commit
a349aed94c
@ -333,10 +333,7 @@ export default defineNuxtComponent({
|
|||||||
},
|
},
|
||||||
async setup() {
|
async setup() {
|
||||||
const user = await useUser()
|
const user = await useUser()
|
||||||
if (process.client) {
|
|
||||||
await initUserProjects()
|
await initUserProjects()
|
||||||
}
|
|
||||||
|
|
||||||
return { user: ref(user) }
|
return { user: ref(user) }
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user