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
+1 -1
+1 -1
View File
@@ -287,8 +287,8 @@ class Profile {
}) })
$effect(() => { $effect(() => {
if (this.current.jwt)
this.fetchUserData().then(() => { this.fetchUserData().then(() => {
if (this.current.jwt)
this.checkInbox().then(res => notifications.update(() => res)) this.checkInbox().then(res => notifications.update(() => res))
}) })
}) })