fix: site data not updating on switch

This commit is contained in:
James Xylight committed 2025-07-12 14:32:53 -07:00
1 parent f1753f5358
commit ba382a2cf3
1 file changed
+3 -3
+3 -3
View File
@@ -287,10 +287,10 @@ class Profile {
})
$effect(() => {
if (this.current.jwt)
this.fetchUserData().then(() => {
this.fetchUserData().then(() => {
if (this.current.jwt)
this.checkInbox().then(res => notifications.update(() => res))
})
})
})
})
}